diff --git a/composer.json b/composer.json index beae420..97c96c7 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Razorpay Omnipay 2.0 plugin for accepting payments", "require": { "omnipay/common": "~2.0", - "razorpay/razorpay": "1.*" + "razorpay/razorpay": "1.* || 2.*" }, "require-dev": { "omnipay/tests": "~2.0" diff --git a/composer.lock b/composer.lock index 32615e9..7bf9dd3 100644 --- a/composer.lock +++ b/composer.lock @@ -1,11 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "aaed99cc8bd2740de2790d73b851db43", - "content-hash": "561a3b92d6f48f437ca318bd9c474fa1", + "content-hash": "83876ce09230c0263f9e330f35e5ecd3", "packages": [ { "name": "guzzle/guzzle", @@ -101,7 +100,7 @@ "web service" ], "abandoned": "guzzlehttp/guzzle", - "time": "2015-03-18 18:23:50" + "time": "2015-03-18T18:23:50+00:00" }, { "name": "omnipay/common", @@ -199,32 +198,36 @@ "payment", "purchase" ], - "time": "2016-11-07 06:10:23" + "time": "2016-11-07T06:10:23+00:00" }, { "name": "razorpay/razorpay", - "version": "1.2.9", + "version": "2.8.7", "source": { "type": "git", "url": "https://github.com/razorpay/razorpay-php.git", - "reference": "940069d5af481876d8b704af1d3678729489191f" + "reference": "2180c8c3c39678623f5cb8f639c39a706de14c44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/razorpay/razorpay-php/zipball/940069d5af481876d8b704af1d3678729489191f", - "reference": "940069d5af481876d8b704af1d3678729489191f", + "url": "https://api.github.com/repos/razorpay/razorpay-php/zipball/2180c8c3c39678623f5cb8f639c39a706de14c44", + "reference": "2180c8c3c39678623f5cb8f639c39a706de14c44", "shasum": "" }, "require": { "ext-json": "*", - "php": ">=5.3.2", - "rmccue/requests": "v1.6.1" + "php": ">=7.3", + "rmccue/requests": "^2.0" }, "require-dev": { + "phpunit/phpunit": "^9", "raveren/kint": "1.*" }, "type": "library", "autoload": { + "files": [ + "Deprecated.php" + ], "psr-4": { "Razorpay\\Api\\": "src/", "Razorpay\\Tests\\": "tests/" @@ -255,33 +258,59 @@ "php", "razorpay" ], - "time": "2017-01-03 09:35:10" + "support": { + "email": "contact@razorpay.com", + "issues": "https://github.com/Razorpay/razorpay-php/issues", + "source": "https://github.com/Razorpay/razorpay-php" + }, + "time": "2023-09-11T08:31:26+00:00" }, { "name": "rmccue/requests", - "version": "v1.6.1", + "version": "v2.0.8", "source": { "type": "git", - "url": "https://github.com/rmccue/Requests.git", - "reference": "6aac485666c2955077d77b796bbdd25f0013a4ea" + "url": "https://github.com/WordPress/Requests.git", + "reference": "fae75bcb83d9d00d0e31ee86a472a036f9f91519" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rmccue/Requests/zipball/6aac485666c2955077d77b796bbdd25f0013a4ea", - "reference": "6aac485666c2955077d77b796bbdd25f0013a4ea", + "url": "https://api.github.com/repos/WordPress/Requests/zipball/fae75bcb83d9d00d0e31ee86a472a036f9f91519", + "reference": "fae75bcb83d9d00d0e31ee86a472a036f9f91519", "shasum": "" }, "require": { - "php": ">=5.2" + "ext-json": "*", + "php": ">=5.6" }, "require-dev": { - "satooshi/php-coveralls": "dev-master" + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", + "php-parallel-lint/php-console-highlighter": "^0.5.0", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0", + "requests/test-server": "dev-main", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.6", + "wp-coding-standards/wpcs": "^2.0", + "yoast/phpunit-polyfills": "^1.0.0" + }, + "suggest": { + "art4/requests-psr18-adapter": "For using Requests as a PSR-18 HTTP Client", + "ext-curl": "For improved performance", + "ext-openssl": "For secure transport support", + "ext-zlib": "For improved performance when decompressing encoded streams" }, "type": "library", "autoload": { - "psr-0": { - "Requests": "library/" - } + "files": [ + "library/Deprecated.php" + ], + "psr-4": { + "WpOrg\\Requests\\": "src/" + }, + "classmap": [ + "library/Requests.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -290,11 +319,23 @@ "authors": [ { "name": "Ryan McCue", - "homepage": "http://ryanmccue.info" + "homepage": "https://rmccue.io/" + }, + { + "name": "Alain Schlesser", + "homepage": "https://github.com/schlessera" + }, + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl" + }, + { + "name": "Contributors", + "homepage": "https://github.com/WordPress/Requests/graphs/contributors" } ], "description": "A HTTP library written in PHP, for human beings.", - "homepage": "http://github.com/rmccue/Requests", + "homepage": "https://requests.ryanmccue.info/", "keywords": [ "curl", "fsockopen", @@ -304,7 +345,12 @@ "iri", "sockets" ], - "time": "2014-05-18 04:59:02" + "support": { + "docs": "https://requests.ryanmccue.info/", + "issues": "https://github.com/WordPress/Requests/issues", + "source": "https://github.com/WordPress/Requests" + }, + "time": "2023-09-11T08:27:57+00:00" }, { "name": "symfony/event-dispatcher", @@ -364,7 +410,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2017-01-02 20:30:24" + "time": "2017-01-02T20:30:24+00:00" }, { "name": "symfony/http-foundation", @@ -417,7 +463,7 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2017-02-02 13:47:35" + "time": "2017-02-02T13:47:35+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -476,7 +522,7 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2016-11-14T01:06:16+00:00" } ], "packages-dev": [ @@ -523,7 +569,7 @@ "keywords": [ "test" ], - "time": "2015-05-11 14:41:42" + "time": "2015-05-11T14:41:42+00:00" }, { "name": "mockery/mockery", @@ -588,7 +634,7 @@ "test double", "testing" ], - "time": "2016-12-19 14:50:55" + "time": "2016-12-19T14:50:55+00:00" }, { "name": "omnipay/tests", @@ -645,7 +691,7 @@ "payment", "purchase" ], - "time": "2016-07-07 09:35:23" + "time": "2016-07-07T09:35:23+00:00" }, { "name": "phpunit/php-code-coverage", @@ -706,7 +752,7 @@ "testing", "xunit" ], - "time": "2014-09-02 10:13:14" + "time": "2014-09-02T10:13:14+00:00" }, { "name": "phpunit/php-file-iterator", @@ -753,7 +799,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2016-10-03T07:40:28+00:00" }, { "name": "phpunit/php-text-template", @@ -794,7 +840,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -838,7 +884,7 @@ "keywords": [ "timer" ], - "time": "2016-05-12 18:03:57" + "time": "2016-05-12T18:03:57+00:00" }, { "name": "phpunit/php-token-stream", @@ -888,7 +934,7 @@ "keywords": [ "tokenizer" ], - "time": "2014-03-03 05:10:30" + "time": "2014-03-03T05:10:30+00:00" }, { "name": "phpunit/phpunit", @@ -961,7 +1007,7 @@ "testing", "xunit" ], - "time": "2014-10-17 09:04:17" + "time": "2014-10-17T09:04:17+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1010,7 +1056,7 @@ "mock", "xunit" ], - "time": "2013-01-13 10:24:48" + "time": "2013-01-13T10:24:48+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -1085,7 +1131,7 @@ "phpcs", "standards" ], - "time": "2014-12-04 22:32:15" + "time": "2014-12-04T22:32:15+00:00" }, { "name": "symfony/yaml", @@ -1134,7 +1180,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-01-21 16:40:50" + "time": "2017-01-21T16:40:50+00:00" } ], "aliases": [], @@ -1143,5 +1189,6 @@ "prefer-stable": false, "prefer-lowest": false, "platform": [], - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.3.0" }