PHPackages                             sachin-sanchania/laravel-eazypay - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. sachin-sanchania/laravel-eazypay

ActiveLibrary[Payment Processing](/categories/payments)

sachin-sanchania/laravel-eazypay
================================

Laravel package for ICICI Bank Eazypay payment integration

v1.2(1y ago)428MITPHPPHP &gt;=7.4.0

Since Feb 18Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/sachin-sanchania/laravel-eazypay)[ Packagist](https://packagist.org/packages/sachin-sanchania/laravel-eazypay)[ RSS](/packages/sachin-sanchania-laravel-eazypay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Laravel Eazypay Integration
===========================

[](#laravel-eazypay-integration)

A Laravel package for **ICICI Bank’s Eazypay Payment Gateway**. This package provides a seamless integration with ICICI Bank's EazyPay payment gateway for Laravel applications. It simplifies the process of generating checksums, processing payments, and handling responses within your Laravel projects. This package makes it simple to handle:

- 🔑 Checksum generation &amp; validation
- 💳 Secure transaction submission
- 📩 Callback &amp; response handling

Designed for **Laravel 10/11** (PHP 8+), it provides a smooth way to integrate **ICICI Eazypay** into your PHP applications.

What is a Eazypay?
------------------

[](#what-is-a-eazypay)

Eazypay is a first of its kind secure payment service by ICICI Bank in India. It enables institutions to collect money from their customers through multiple payment modes. ICICI Bank is the first and only bank to offer such a payment service in India.

Installation
------------

[](#installation)

You can install the package via composer:

```
$ composer require sachin-sanchania/laravel-eazypay
```

Configuration
-------------

[](#configuration)

Configuration was designed to be as flexible. global configuration can be set in the `app/config/eazypay.php` file.

Make sure you have all the detail which needs to use in configuration file. Must read instruction in `app/config/eazypay.php` file. You need to configure your .env file

```
EAZYPAY_MERCHANT_ID=your_merchant_id // 6 digit Eazypay ICID shared by ICICI Bank
EAZYPAY_ENCRYPTION_KEY=your_encryption_key // AES Key shared by ICICI Bank
EAZYPAY_RETURN_URL=your_return_url // Return URL configured while merchant registration in eazypay. Transaction response is sent to this URL.
EAZYPAY_SUB_MERCHANT_ID=xxxxxxxx // A numeric value that can be customized by the merchant andused to differentiate between internal business units of the mer-chant (if applicable).
EAZYPAY_PAYMODE=9 // (Optional | Default=9) Cash=0,Cheque=1,NEFT/RTGS=2,NetBanking=3,DebitCard=4,CreditCard=5 and UPI = 6 and All=9
EAZYPAY_DEFAULT_BASE_URL=xxxxxx // (Optional | Default=https://eazypay.icicibank.com/EazyPG?) For UAT set this url : https://eazypayuat.icicibank.com/EazyPG

```

In command line paste this command for clearing cache:

```
php artisan optimize:clear
```

Finally, from the command line again, publish the default configuration file:

```
php artisan vendor:publish --provider="SachinSanchania\Eazypay\EazypayServiceProvider"
```

Usage
-----

[](#usage)

Import the package in your controller and send request with required parameters.

```
use SachinSanchania\Eazypay\Eazypay;

class PaymentController extends Controller
{
    public function payment()
    {
        $amount        = 1000;
        $referenceNo   = 1; // Stands for order ID or any related database identifier
        $optionalField = '10|10|10|10'; // Optional, must be in pipe (`|`) delimiter format as per ICICI's documentation

        $eazypay    = new Eazypay();
        $paymentUrl = $eazypay->getPaymentUrl($amount, $referenceNo, $optionalField);

        return redirect()->to($paymentUrl); // Redirects the user to ICICI Eazypay payment gateway
    }
}
```

After payment completion, ICICI will redirect the user to the return URL. You can capture the response like this:

```
public function paymentResponse(Request $request)
{
    $response = $request->all();

    // Validate and process payment response
    if (isset($response['status']) && $response['status'] == 'success') {
        // Payment successful, update order status
    } else {
        // Payment failed or pending, handle accordingly
    }

    return view('payment.status', compact('response'));
}
```

Thanks for your support! ❤️ If you have any doubts, feel free to start a discussion. 😊

For more details, visit the official [ICICI Eazypay website](https://eazypay.icicibank.com/homePage).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance54

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Total

3

Last Release

405d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ede05d1c3260b72c78b2f965827348f818ce2fe81c9e0a4e12808967712c9251?d=identicon)[sachin-sanchania](/maintainers/sachin-sanchania)

---

Top Contributors

[![sachin-atyantik](https://avatars.githubusercontent.com/u/189976392?v=4)](https://github.com/sachin-atyantik "sachin-atyantik (2 commits)")[![sachin-sanchania](https://avatars.githubusercontent.com/u/104189566?v=4)](https://github.com/sachin-sanchania "sachin-sanchania (2 commits)")

---

Tags

eazypay-laravelicici-eazypay-paymentintegrationlaravellaravel-packagelaravel11paymentphplaravellaravel 10iciciicici paymenteazypaylaravel eazypayeazypay paymenteazypay payment apieazypay payment integrationeazypay payment laravelsachin sanchanialaravel payment integration

### Embed Badge

![Health badge](/badges/sachin-sanchania-laravel-eazypay/health.svg)

```
[![Health](https://phpackages.com/badges/sachin-sanchania-laravel-eazypay/health.svg)](https://phpackages.com/packages/sachin-sanchania-laravel-eazypay)
```

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[itsmurumba/laravel-mpesa

Laravel Package for Mpesa Daraja API

191.6k](/packages/itsmurumba-laravel-mpesa)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
