Download the PHP package satnam-singh/sbi-epay without Composer

On this page you can find all versions of the php package satnam-singh/sbi-epay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sbi-epay

SBI ePay for Laravel

Latest Version on Packagist PHP Version Support Tests Status Release Workflow Status Total Downloads PHPStan Level 7 Type Coverage 100% Dependabot GitHub Sponsors

A modern, fluent, and strongly-typed SBI ePay (State Bank of India Payment Gateway) integration package for Laravel applications.

[!NOTE] Disclaimer: This is an independent, community-developed package and is not an official package from State Bank of India (SBI) or SBI ePay. It is neither endorsed by, affiliated with, nor maintained by State Bank of India.


Highlights


Requirements


Installation

Install the package into your Laravel application via Composer:

Publish Configuration

Publish the sbi-epay.php configuration file:


Configuration

Add your SBI ePay merchant credentials to your .env file:


Important: Exclude Callback Route from CSRF Verification

SBI ePay returns customers back to your application by issuing a cross-site HTTP POST request containing encrypted payload data (encData). In Laravel 11 and 12, make sure to exclude your payment callback route from CSRF verification:

In bootstrap/app.php:


Quick Usage

1. Initiating a Payment

In your controller, use the SbiEpay facade to create a payment request:

For Headless / Inertia / Vue / React SPAs: Instead of $initiation->redirect(), retrieve the raw form parameters and submit them from your frontend:


2. Handling the Payment Callback

When the transaction finishes, SBI ePay posts the encrypted status payload to your successUrl or failUrl. Decrypt and parse it with SbiEpay::handleCallback():

Available Methods on PaymentResponse:


3. Server-to-Server Double Verification

To eliminate any chance of client-side callback tampering, query SBI's Double Verification API directly from your server:


4. Dynamic Multi-Merchant Support

If your application processes payments for multiple branches, municipalities, or tenants with different merchant accounts:


5. Direct Encryption & Decryption Helpers

You can also use the encryption engine standalone:


Testing

Run the package test suite:

Individual checks:


Changelog

Please see CHANGELOG.md for details on recent changes.


Contributing

Please see CODE_OF_CONDUCT.md for details.


Security

Please review our security policy on how to report security vulnerabilities.


Credits


Disclaimer

This package is an independent, custom-built open-source integration developed to assist Laravel developers integrating with the SBI ePay payment gateway. This project is not an official product of, nor is it endorsed, certified, or maintained by State Bank of India (SBI) or SBI ePay. All trademarks, service marks, and company names are the property of their respective owners.


License

The MIT License (MIT). Please see License File for more information.


All versions of sbi-epay with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3||^8.4||^8.5
illuminate/http Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package satnam-singh/sbi-epay contains the following files

Loading the files please wait ...