andrewlamers/chargify-laravel
最新稳定版本:v2.0.0
Composer 安装命令:
composer require andrewlamers/chargify-laravel
包简介
Laravel service provider for chargifys API using the chargley chargify SDK.
README 文档
README
This is a wrapper using the chargley chargify SDK. It creates a service provider and facade for autoloading into laravel.
How to Install
Laravel 5.0
-
Install the
andrewlamers/chargify-laravelpackage$ composer require andrewlamers/chargify-laravel
-
Update
config/app.phpto activate ChargifyLaravel# Add `ChargifyLaravelServiceProvider` to the `providers` array 'providers' => array( ... Andrewlamers\ChargifyLaravel\ChargifyLaravelServiceProvider::class, ) # Add the `ChargifyLaravelFacade` to the `aliases` array 'aliases' => array( ... 'Chargify' => Andrewlamers\ChargifyLaravel\ChargifyLaravelFacade::class )
-
Generate a template Chargify config file
$ php artisan vendor:publish
-
Update
app/config/chargify.phpwith your chargify API Informationreturn array( 'hostname' => 'mysite.chargify.com', 'api_key' => 'my chargify api key', 'shared_key' => 'my chargify shared key' );
Laravel 4.2
-
Install the
andrewlamers/chargify-laravel1.* version$ composer require andrewlamers/chargify-laravel:1.* -
Update
config/app.phpto activate ChargifyLaravel# Add `ChargifyLaravelServiceProvider` to the `providers` array 'providers' => array( ... 'Andrewlamers\ChargifyLaravel\ChargifyLaravelServiceProvider' ) # Add the `ChargifyLaravelFacade` to the `aliases` array 'aliases' => array( ... 'Chargify' => 'Andrewlamers\ChargifyLaravel\ChargifyLaravelFacade' )
-
Generate a template Chargify config file
$ php artisan config:publish andrewlamers/chargify-laravel
-
Update
app/config/packages/andrewlamers/chargify-laravel/config.phpwith your chargify API Informationreturn array( 'hostname' => 'mysite.chargify.com', 'api_key' => 'my chargify api key', 'shared_key' => 'my chargify shared key' );
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache
- 更新时间: 2015-10-21