Download the PHP package adicode-technologies/laravel-razorpay-easy without Composer
On this page you can find all versions of the php package adicode-technologies/laravel-razorpay-easy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adicode-technologies/laravel-razorpay-easy
More information about adicode-technologies/laravel-razorpay-easy
Files in adicode-technologies/laravel-razorpay-easy
Package laravel-razorpay-easy
Short Description A simple and customizable Razorpay integration for Laravel applications
License MIT
Informations about the package laravel-razorpay-easy
Laravel Razorpay Easy
A simple and highly customizable Razorpay integration package for Laravel applications.
Features
- 🚀 Quick and easy setup
- 🛠️ Pre-built checkout page
- 🎨 Highly customizable
- 📊 Database integration for payment tracking
- 🔄 Event-driven architecture
- 🔗 Model relationships with payments
- 🔒 Secure payment processing
- 🪝 Webhook handling
Installation
You can install the package via composer:
After installing the package, publish the assets:
Run the migrations:
Configuration
Add your Razorpay credentials to your .env
file:
You can customize the package behavior by modifying the config/razorpay.php
file.
Basic Usage
Quick Checkout
Redirect to the pre-built checkout page:
Custom Callback Handler
Create a callback handler to process payments:
Using the Trait
Add payment functionality to your models:
Then you can use:
Direct API Access
Use the facade for direct API access:
Browser Compatibility
This package works with all major browsers. However, Brave Browser users may experience issues due to its privacy features. If you encounter problems:
- Try using incognito mode
- Temporarily disable Brave Shields
- Use an alternative browser like Chrome or Firefox
Events
The package dispatches the following events:
PaymentSucceeded
: When a payment is successfully processedPaymentFailed
: When a payment failsWebhookReceived
: When a webhook is received
License
The MIT License (MIT). Please see License File for more information.