PHPackages                             infuse/billing - 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. [Framework](/categories/framework)
4. /
5. infuse/billing

ActiveLibrary[Framework](/categories/framework)

infuse/billing
==============

Subscription membership module for Infuse Framework powered by Stripe

2.0(8y ago)12.1kMITPHPPHP &gt;=7.0.0

Since Jan 12Pushed 6y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

infuse/billing
==============

[](#infusebilling)

[![Build Status](https://camo.githubusercontent.com/2f4ca9f7c98612f384a3d631b26a8b0060e1849bd7994083d3a2b720af62ca1d/68747470733a2f2f7472617669732d63692e6f72672f696e667573657068702f62696c6c696e672e7376673f6272616e63683d6d6173746572267374796c653d666c6174)](https://travis-ci.org/infusephp/billing)[![Coverage Status](https://camo.githubusercontent.com/4dbfde88b610fa6f7dba7f274a9e76d80cabe61d91282f94c2e0aedd97bb2326/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f696e667573657068702f62696c6c696e672f62616467652e7376673f7374796c653d666c6174)](https://coveralls.io/r/infusephp/billing)[![Latest Stable Version](https://camo.githubusercontent.com/aa33fd4d8f40cd27e231cc95af6261b8a9b378af6dd78a677ed91fe7cfad0683/68747470733a2f2f706f7365722e707567782e6f72672f696e667573652f62696c6c696e672f762f737461626c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/infuse/billing)[![Total Downloads](https://camo.githubusercontent.com/3c4592245891123e0f7899cc3ac4a5d63cacb425253bb7ff3203e711d291f62c/68747470733a2f2f706f7365722e707567782e6f72672f696e667573652f62696c6c696e672f646f776e6c6f6164732e7376673f7374796c653d666c6174)](https://packagist.org/packages/infuse/billing)

Subscription membership module for Infuse Framework powered by Stripe

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

[](#installation)

1. Install the package with [composer](http://getcomposer.org):

    ```
     composer require infuse/billing

    ```
2. Add a billing section in your app's configuration:

    ```
    'billing' => [
    	'model' => 'App\Users\Models\User',
    	'emails' => [
    		'trial_will_end' => true,
    		'trial_ended' => true,
    		'failed_payment' => true,
    		'payment_receipt' => true,
    		'subscription_canceled' => true
    	],
    	'defaultPlan' => 'default_plan',
    	'trialWillEndReminderDays' => 3
    ]
    ```
3. Add the console command to run jobs to `console.commands` in your app's configuration:

    ```
    'console' => [
    	// ...
    	'commands' => [
    		// ...
    		'Infuse\Billing\Console\ExtendTrialCommand',
    		'Infuse\Billing\Console\SyncStripeSubscriptionsCommand',
    		'Infuse\Billing\Console\SyncStripeProfilesCommand'
    	]
    ]
    ```
4. Add the migration to your app's configuration:

    ```
    'modules' => [
       'migrations' => [
          // ...
          'Billing'
       ],
       'migrationPaths' => [
          // ...
          'Billing' => 'vendor/infuse/billing/src/migrations'
       ]
    ]
    ```
5. (optional) Add the following scheduled job to your app's configuration:

    ```
    'cron' => [
    	// ...
    	[
    	    'id' => 'billing:sendTrialReminders',
    	    'class' => 'Infuse\Billing\Jobs\SendTrialReminders',
    	    'minute' => 0,
    	    'expires' => 1800 // 30 minutes
    	]
    ]
    ```
6. (optional) Add an endpoint to your routing table to receive Stripe webhooks:

    ```
    'routes' => [
    	// ...
    	'POST /billing/webhook' => [
    		'Infuse\Billing\Libs\StripeWebhook',
    		'webhook'
        ]
    ]
    ```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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 ~690 days

Total

2

Last Release

3089d ago

Major Versions

1.0.0 → 2.02017-12-03

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

2.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d31f148b30ea3f288fb9e748f6a1dbd7c145a4bd0af74b4687812227221608a?d=identicon)[Jaredtking](/maintainers/Jaredtking)

---

Tags

frameworkstripebillingsubscriptionsinfuse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/infuse-billing/health.svg)

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

###  Alternatives

[laravel/cashier

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

2.5k25.9M107](/packages/laravel-cashier)

PHPackages © 2026

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