Download the PHP package lakshmaji/razorpay without Composer
On this page you can find all versions of the php package lakshmaji/razorpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lakshmaji/razorpay
More information about lakshmaji/razorpay
Files in lakshmaji/razorpay
Package razorpay
Short Description Razorpay payment integration for laravel
License MIT
Homepage https://github.com/lakshmaji/razorpay
Informations about the package razorpay
Razorpay
Razorpay officail documentation Razorpay php library
What it is
- Razorpay is providing single vendor platform for all payment gateway integrations. This package is used to integrate the razorpay with Laravel framework
- This uses razorpy-php.
Version
1.0.5
Compatibility
Laravel version | Razorpay version |
---|---|
5.5 | 1.0.5 |
5.4 <= | 1.0.5 |
Note: This package is completely relays on razorpay-php library, refer here
Installation
- This package is available on packagist
NOTE : This package service providers will be automatically registered with Laravel (uses package auto discovery feature :musical_note:)
-
For applications which uses below 5.5, it is required to add the service providers and aliases to configuration file.
-
Add the Service Provider to providers array
-
Add the Facade to aliases array
- Try updating the application with composer (dependencies but not mandatory :wink: )
-
Configurations
-
Publish the configuration file , this will publish razorpay.php file to your application config directory.
- Configure the required Razorpay configurations. You can configure them from laravel .env file, the sample configurations in .env file
Usage
-
With Constructor instantiaon
-
Fetch payment details
- Capture (verify) payment details
LICENSE