Install Razorpay PHP SDK
Install the PHP server-side SDK to interact with Razorpay APIs.
Integrate the Razorpay PHP SDK with your PHP-based website to accept payments, initiate refunds and much more.
You can either download or run a composer command to install 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.
You can install Razorpay using a composer command. Run the below command on your Composer: Unzip the SDK file and include the Razorpay.php file in your project.
composer require razorpay/razorpay:2.*
Razorpay PHP SDK is released under the MIT License.