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 today

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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

1597d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2285625?v=4)[Jeff Decena](/maintainers/jsdecena)[@jsdecena](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.5k](/packages/illuminate-database)[illuminate/filesystem

The Illuminate Filesystem package.

16165.0M3.1k](/packages/illuminate-filesystem)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[illuminate/cache

The Illuminate Cache package.

12937.0M1.8k](/packages/illuminate-cache)

PHPackages © 2026

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