andrewlamers/chargify-laravel
Chargify Wrapper for Laravel 4
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' );
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.0 | >=5.4.0 | 4.*| | Apache 2.0 | |
| v1.0.2 | >=5.4.0 | 4.2.* | ||
| v1.0.1 | >=5.4.0 | 4.2.* | ||
| v1.0.0 | >=5.4.0 | 4.2.* |