lshin/chargebee-laravel4
Composer 安装命令:
composer require lshin/chargebee-laravel4
包简介
A simple laravel 4 service provider for including the ChargeBee PHP Client
README 文档
README
Integrates the ChargeBee API with Laravel 4
A simple Laravel 4 service provider for including the ChargeBee PHP Client.
Installation
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
Configure
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.
Usage
You can use the the all api classes following the documentation at https://apidocs.chargebee.com/docs/api
统计信息
- 总下载量: 3.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-07