baorv/l5-getresponse
| Install | |
|---|---|
composer require baorv/l5-getresponse |
|
| Latest Version: | v1.0.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jan 29, 2019 |
| Links: | GitHub · Packagist |
l5-getresponse
GetResponse API Integration for Laravel 5.*
Installation
You can install package "baorv/l5-getresponse" by command
composer require "baorv/l5-getresponse":"dev-master"
Or other way, add the package to require lists in composer.json and run composer update to install the package.
...
"require": {
...
"baorv/l5-getresponse":"dev-master"
...
}
...
After installing the package, if you use Laravel 5.5 or higher, you can skip this step. Add service provider and facade to configuration file config/app.php
return [
...
'providers' => [
...
'\Secomapp\GetResponse\GetResponseServiceProvider',
...
],
'aliases' => [
...
'\Secomapp\GetResponse\Facades\GetResponse',
...
]
...
];
Configuration
You can publish config file from the package to your configuration path by command
./artisan vendor:publish --provider="Secomapp\\GetResponse\\GetResponseServiceProvider"
Some configuration you can set up from .env
GETRESPONSE_APIURL=https://api.getresponse.com/v3 #Optional
GETRESPONSE_APIKEY=
Usage
In everywhere, you can use to work with GetResponse
use Secomapp\GetResponse\Facades\GetResponse;
GetResponse::accounts();
GetResponse::getCampaigns();
GetResponse::getCampaign($campaign_id);
Helpers
Another way to work with GetResponse
getresponse_accounts();
getresponse_get_campaigns();
getresponse_get_campaign();
Contributing
If you have any idea or update for library, please create new pull request
Issues
When you meet any issue, please create new issue
Todo
- Add test
Related Packages
A wrapper plugin with Fatture in Cloud Api V2 written in Laravel PHP
An integration plugin with Fatture in Cloud Api written in Laravel PHP
Build, test and generate Laravel API integrations from a UI: auth, endpoints, va...
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v1.0.0 | >=5.0.0 | MIT |