Package Data | |
---|---|
Maintainer Username: | emaw |
Maintainer Contact: | andrew.lamers@gmail.com (Andrew Lamers) |
Package Create Date: | 2015-10-21 |
Package Last Update: | 2015-10-29 |
Language: | PHP |
License: | Apache 2.0 |
Last Refreshed: | 2024-11-26 15:07:56 |
Package Statistics | |
---|---|
Total Downloads: | 94 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
This is a wrapper using the chargley chargify SDK. It creates a service provider and facade for autoloading into laravel.
Install the andrewlamers/chargify-laravel
package
$ composer require andrewlamers/chargify-laravel
Update config/app.php
to 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.php
with your chargify API Information
return array(
'hostname' => 'mysite.chargify.com',
'api_key' => 'my chargify api key',
'shared_key' => 'my chargify shared key'
);
Install the andrewlamers/chargify-laravel
1.* version
$ composer require andrewlamers/chargify-laravel:1.*
Update config/app.php
to 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.php
with your chargify API Information
return array(
'hostname' => 'mysite.chargify.com',
'api_key' => 'my chargify api key',
'shared_key' => 'my chargify shared key'
);