Package Data | |
---|---|
Maintainer Username: | dangermark |
Maintainer Contact: | dangermark@gmail.com (Mark Halcroft) |
Package Create Date: | 2016-07-11 |
Package Last Update: | 2020-06-12 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-20 03:02:13 |
Package Statistics | |
---|---|
Total Downloads: | 16,431 |
Monthly Downloads: | 137 |
Daily Downloads: | 7 |
Total Stars: | 5 |
Total Watchers: | 2 |
Total Forks: | 10 |
Total Open Issues: | 0 |
A Laravel 5 wrapper for the GetResponse API
To get the latest version of Laravel-GetResponse simply require it in your composer.json
file.
"dangermark/laravel-getresponse": "dev-master"
You'll then need to run composer install
to download it and have the autoloader updated.
Once Laravel-GetResponse is installed you need to register the service provider with the application. Open up app/config/app.php
and find the providers
key.
<?php
'providers' => [
Dangermark\GetResponse\GetResponseServiceProvider::class,
]
Laravel-GetResponse also ships with a facade. You can register the facade in the aliases
key of your app/config/app.php
file.
<?php
'aliases' => [
'GetResponse' => Dangermark\GetResponse\Facades\GetResponse::class,
]
Create the configuration file using artisan
$ php artisan vendor:publish
And set your own API key:
<?php
return [
'api_key' => env('GETRESPONSE_API_KEY')
];