Registry / auth / razorpay-razorpay

razorpay-razorpay

JSON →
library2.9.3phppackagistunverified

Razorpay PHP Client Library for integrating Razorpay payment gateway.

composer require razorpay/razorpay
INSTALL
IMPORT
SIG · RAZORPAY-RAZORPAY
R
razorpay-razorpay
authphpv2.9.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Api
use Razorpay\Api\Api;

Initialize the API client and create an order.

use Razorpay\Api\Api; $api = new Api('key_id', 'key_secret'); $order = $api->order->create(['amount' => 100, 'currency' => 'INR']);
Debug
Known issues
gotchaAPI key and secret must be kept secure
fix
Store credentials in environment variables, not in code.
affects: *
Upgrade
Version history
2.9.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
38
Resources
razorpay-razorpay — pip install razorpay-razorpay · libregistry