PHPackages                             ortigan/cashfree - 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. ortigan/cashfree

ActiveLibrary[Payment Processing](/categories/payments)

ortigan/cashfree
================

Cashfree Library for Laravel

v1.0.3(2y ago)271MITPHPPHP &gt;=7.4

Since Apr 20Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ortigan/Cashfree)[ Packagist](https://packagist.org/packages/ortigan/cashfree)[ RSS](/packages/ortigan-cashfree/feed)WikiDiscussions main Synced 1mo ago

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

[![ cashfree library ](https://camo.githubusercontent.com/6a218a07a847b06953a875fd3cd71f9e529f2fc290ffb1551ea6f86e7a4578c2/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f62696e617279636f64652f696d6167652f75706c6f61642f76313635303435323933312f4361736866726565784c61726176656c2f4c61726176656c5f696e746567726174696f6e5f666f725f63617368667265655f585f4f72746967616e5f4769745f76325f67336b6f70732e706e67)](https://camo.githubusercontent.com/6a218a07a847b06953a875fd3cd71f9e529f2fc290ffb1551ea6f86e7a4578c2/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f62696e617279636f64652f696d6167652f75706c6f61642f76313635303435323933312f4361736866726565784c61726176656c2f4c61726176656c5f696e746567726174696f6e5f666f725f63617368667265655f585f4f72746967616e5f4769745f76325f67336b6f70732e706e67)

Cashfree package for laravel
============================

[](#cashfree-package-for-laravel)

[![Total Downloads](https://camo.githubusercontent.com/74abfbf9e5ec347c68456fbcc246e563e07307e7f103260dcb30ae3ce83d31bb/687474703a2f2f706f7365722e707567782e6f72672f6f72746967616e2f63617368667265652f646f776e6c6f616473)](https://packagist.org/packages/ortigan/cashfree) [![License](https://camo.githubusercontent.com/3d064cb20e419b191ddefcadc37e3a78f966771f50eb15b426d15e705c9499d9/687474703a2f2f706f7365722e707567782e6f72672f6f72746967616e2f63617368667265652f6c6963656e7365)](https://packagist.org/packages/ortigan/cashfree)

Simplified laravel package for cashfree integration. The package provides easy to use functions that will enable you to integrate cashfree API's seamlessly.

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

[](#installation)

You can install the package via composer:

```
composer require ortigan/cashfree
```

You can optionally publish the config file with:

```
 php artisan vendor:publish --provider="Ortigan\Cashfree\CashfreeServiceProvider" --tag="cashfree-config"
```

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

[](#configuration)

Modify your `.env`

### Required

[](#required)

```
// required if you use "Auto Collect"
CASHFREE_AUTO_COLLECT_CLIENT_ID=
CASHFREE_AUTO_COLLECT_SECRET_KEY=

// required if you use "Payout"
CASHFREE_PAYOUT_CLIENT_ID=
CASHFREE_PAYOUT_CLIENT_KEY=

```

### Optional

[](#optional)

```
CASHFREE_SANDBOX=true|false
CASHFREE_AUTO_COLLECT_TEST_URL=
CASHFREE_AUTO_COLLECT_PROD_URL=
CASHFREE_AUTO_COLLECT_AUTH_ROUTE=
CASHFREE_PAYOUT_TEST_URL=
CASHFREE_PAYOUT_PROD_URL=
CASHFREE_PAYOUT_AUTH_ROUTE=

```

Basic Usage
-----------

[](#basic-usage)

```
use Ortigan/Cashfree/Cashfree;

$virtualAccount = Cashfree::auto_collect()->createVirtualAccount([
     'vAccountId' => 'johndoe_1324',
     'name' => John Doe,
     'phone' => "9999999999",
     'email' => 'johndoe@gmail.com',
     'min_amount' => 50000,
     'max_amount' => 500000
 ]);
```

Response

```
{
    "status": "SUCCESS",
    "subCode": "200",
    "message": "Virtual account added successfully",
    "data": [
        "accountNumber": "CASHFREE1234VATEST",
        "ifsc": "YESB0CMSNOC"
    ]
}
```

Services incuded
----------------

[](#services-incuded)

- Payout
- Auto Collect
- Verification Suite

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~166 days

Total

4

Last Release

984d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16c15e9535ae98614d4f64d0ac0a0aa782e97e82c8bfe952704e7f2a8947b595?d=identicon)[Vinayak-k160](/maintainers/Vinayak-k160)

---

Top Contributors

[![Vinayak-k160](https://avatars.githubusercontent.com/u/23707885?v=4)](https://github.com/Vinayak-k160 "Vinayak-k160 (29 commits)")

---

Tags

laravelcashfree

### Embed Badge

![Health badge](/badges/ortigan-cashfree/health.svg)

```
[![Health](https://phpackages.com/badges/ortigan-cashfree/health.svg)](https://phpackages.com/packages/ortigan-cashfree)
```

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)[tsaiyihua/laravel-linepay

linepay library for laravel

102.9k](/packages/tsaiyihua-laravel-linepay)

PHPackages © 2026

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