Download the PHP package smronju/laravel-sslcommerz without Composer
On this page you can find all versions of the php package smronju/laravel-sslcommerz. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smronju/laravel-sslcommerz
More information about smronju/laravel-sslcommerz
Files in smronju/laravel-sslcommerz
Package laravel-sslcommerz
Short Description SSLCommerz Laravel is a super easy package to integrate SSLCommerz on Laravel websites.
License MIT
Homepage https://github.com/smronju/laravel-sslcommerz
Informations about the package laravel-sslcommerz
Laravel SSLCommerz
Integrate SSLCommerz into your Laravel application in minutes. This package provides a clean, fluent API to handle payments, validations, and refunds with zero hassle.
๐ Quick Start in 3 Steps
1. Install via Composer
2. Configure Your Environment
Add your credentials to your .env file:
โจ How to get sandbox credentials
SSLCommerz credentials are required to use this package. You can get sandbox credentials by following these steps:
-
Create Sandbox Account: Visit the https://developer.sslcommerz.com/registration/ page to create an account.
-
Obtain Credentials: After registration, you will receive your Store ID and Store Password via email or from the SSLCommerz dashboard.
- Set Up in .env: Copy these credentials and paste them into your
.envfile as shown in the Configuration step.
[!IMPORTANT] Sandbox credentials are for testing purposes only. You should replace them with your live credentials and change SANDBOX=false before deploying to production.
3. Initialize & Publish (Optional)
This will publish the configuration file to config/sslcommerz.php:
๐ก Simple Usage
๐ณ Initiate a Payment
The package uses a fluent interface to prepare and trigger the payment.
โ Validate Payment
Simply pass the request data and expected transaction details.
๐ Advanced Features
Handling Callbacks
Define your routes in routes/web.php:
Refunds & Status Checks
๐ฅ Features at a Glance
- โ PHP 8.2+ & Laravel 12-13 support.
- ๐ Fluent API: Ready-to-use methods for customer info, shipping info, etc.
- ๐ Secure: In-built hash verification and data validation.
- ๐ฆ Zero Config: Works out of the box with sensible defaults.
- ๐งช Sandbox Ready: Easy toggle between sandbox and live environments.
๐ Documentation
For detailed guides on dynamic parameters, IPN handling, and advanced configurations, visit the Documentation Wiki.
Credits
- Mohammad Shoriful Islam Ronju
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sslcommerz with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^12.0||^13.0
illuminate/support Version ^12.0||^13.0
illuminate/http Version ^12.0||^13.0