PHPackages                             jsdecena/omnipay-chargebee - 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. jsdecena/omnipay-chargebee

ActivePackage[Payment Processing](/categories/payments)

jsdecena/omnipay-chargebee
==========================

Omnipay Chargebee package

v0.1.5(4y ago)05MITPHPPHP ^8.0

Since Feb 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jsdecena/omnipay-chargebee)[ Packagist](https://packagist.org/packages/jsdecena/omnipay-chargebee)[ RSS](/packages/jsdecena-omnipay-chargebee/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (7)Used By (0)

Omnipay - Chargebee
===================

[](#omnipay---chargebee)

[![jsdecena/omnipay-chargebee](https://github.com/jsdecena/omnipay-chargebee/actions/workflows/master.yml/badge.svg?branch=master)](https://github.com/jsdecena/omnipay-chargebee/actions/workflows/master.yml)

A Chargebee driver for [Omnipay](https://omnipay.thephpleague.com/) PHP payment processing library.

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

[](#installation)

```
composer require league/omnipay:^3 jsdecena/omnipay-chargebee

```

Usage
-----

[](#usage)

To start charging your customer

**1. Make an Omnipay Gateway:**

```
$gateway = Omnipay::create('Chargebee');
```

**2. Initialize your site settings**

```
$gateway->authorize(['site_name' => '', 'site_api_key' => '']);
```

**3. Make a transaction**

You need to pass in the `subscriber_id` and the `item_price_id` to make a subscription.

```
$payment = $gateway->purchase([
    'subscriber_id' => '16BR23Sxald0PM3m',
    'subscription_items' => [
        [
            'billing_cycles' => 12,
            'free_quantity' => 0,
            'item_price_id' => 'cbdemo_advanced-USD-monthly',
            'quantity' => 1
        ]
    ]
]);
```

This will return a `Charge` object containing information about your subscription.

Customers
=========

[](#customers)

Retrieve all your customers and get the `id` of your subscriber which will be used in making the transaction

```
$gateway->authorize(['site_name' => '', 'site_api_key' => '']);
$payment = $gateway->getSubscribers();
```

Retrieve your customer with their email and get the `id` of your subscriber which will be used in making the transaction

```
$gateway->authorize(['site_name' => '', 'site_api_key' => '']);
$payment = $gateway->getSubscribers('john@doe.com');
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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 ~0 days

Total

6

Last Release

1543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/366cbc6ecfb030b7a929e9308c9add079a7bf133703ec2959449e625a299dc7d?d=identicon)[jsdecena](/maintainers/jsdecena)

---

Top Contributors

[![jsdecena](https://avatars.githubusercontent.com/u/2285625?v=4)](https://github.com/jsdecena "jsdecena (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phppackagechargebee

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jsdecena-omnipay-chargebee/health.svg)

```
[![Health](https://phpackages.com/badges/jsdecena-omnipay-chargebee/health.svg)](https://phpackages.com/packages/jsdecena-omnipay-chargebee)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[yansongda/laravel-pay

专注 Alipay/WeChat/Unipay 的 laravel 支付扩展包

1.1k353.2k9](/packages/yansongda-laravel-pay)[cartalyst/stripe-laravel

Laravel 11 integration for the Cartalyst Stripe package.

3382.6M9](/packages/cartalyst-stripe-laravel)[kingflamez/laravelrave

A Laravel Package for Flutterwave Rave

151286.1k4](/packages/kingflamez-laravelrave)[chargebee/cashier

Laravel Cashier for Chargebee provides an expressive, fluent interface to Chargebee's subscription billing services.

627.4k1](/packages/chargebee-cashier)[omalizadeh/laravel-multi-payment

A driver-based laravel package for online payments via multiple gateways

491.1k](/packages/omalizadeh-laravel-multi-payment)

PHPackages © 2026

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