| Package Data | |
|---|---|
| Maintainer Username: | lshin | 
| Maintainer Contact: | leo@sh1n.com (lshin) | 
| Package Create Date: | 2014-05-05 | 
| Package Last Update: | 2014-08-27 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-27 03:13:16 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 3,419 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 0 | 
| Total Watchers: | 1 | 
| Total Forks: | 1 | 
| Total Open Issues: | 0 | 
Integrates the ChargeBee API with Laravel 4
A simple Laravel 4 service provider for including the ChargeBee PHP Client.
The ChargeBee Service Provider can be installed via Composer by requiring the
lshin/chargebee-laravel4 package in your project's composer.json.
{
    "require": {
        "lshin/chargebee-laravel4": "0.*"
    }
}
Run composer update to pull in the libraries.
composer update
To use the ChargeBee Service Provider, you must register the provider when bootstrapping your Laravel application.
Add 'Lshin\ChargebeeLaravel4\ChargebeeLaravel4ServiceProvider' to the list of service providers in app/config/app.php
'Lshin\ChargebeeLaravel4\ChargebeeLaravel4ServiceProvider',
Create a config file for the package
php artisan config:publish lshin/chargebee-laravel4
Edit the config and set the "site" and "api_key" values to match the ChargeBee credentials.
You can use the the all api classes following the documentation at https://apidocs.chargebee.com/docs/api