Skip to main content
Integrate the Razorpay PHP SDK with your PHP-based website to accept payments, initiate refunds and much more.

Dependencies

You must use PHP v8.3 or higher. Know more about the latest PHP versions.

Installation

You can either download the file or run a composer command to install the Razorpay PHP SDK.
Download the latest razorpay-php.zip file from the releases section on GitHub. The razorpay-php.zip is pre-compiled to include all dependencies.

Payment Gateway

Integrate with Razorpay Payment Gateway.

API Sample Codes

Integrate using API sample codes.

Other Razorpay Products

Integrate with other Razorpay products.

Support