wmfairuz / laravel-getresponse
A Laravel 6 wrapper for the GetResponse API
0.1
2019-05-16 23:56 UTC
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
This package is not auto-updated.
Last update: 2024-05-09 19:27:45 UTC
README
A Laravel 6 wrapper for the GetResponse API
Installation
To get the latest version of Laravel-GetResponse simply require it in your composer.json
file.
"wmfairuz/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') ];