https://github.com/baorv/l5-getresponse
GetResponse API Integration for Laravel 5.*
https://github.com/baorv/l5-getresponse
api getresponse integration laravel
Last synced: 27 days ago
JSON representation
GetResponse API Integration for Laravel 5.*
- Host: GitHub
- URL: https://github.com/baorv/l5-getresponse
- Owner: baorv
- License: mit
- Created: 2018-06-29T05:02:43.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T03:58:50.000Z (over 7 years ago)
- Last Synced: 2025-08-15T14:23:33.272Z (10 months ago)
- Topics: api, getresponse, integration, laravel
- Language: PHP
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# l5-getresponse
GetResponse API Integration for Laravel 5.*
## Installation
You can install package "baorv/l5-getresponse" by command
```bash
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.
```yaml
...
"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**
```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
```php
./artisan vendor:publish --provider="Secomapp\\GetResponse\\GetResponseServiceProvider"
```
Some configuration you can set up from .env
```dotenv
GETRESPONSE_APIURL=https://api.getresponse.com/v3 #Optional
GETRESPONSE_APIKEY=
```
## Usage
In everywhere, you can use to work with GetResponse
```php
use Secomapp\GetResponse\Facades\GetResponse;
GetResponse::accounts();
GetResponse::getCampaigns();
GetResponse::getCampaign($campaign_id);
```
## Helpers
Another way to work with GetResponse
```php
getresponse_accounts();
getresponse_get_campaigns();
getresponse_get_campaign();
```
## Contributing
If you have any idea or update for library, please create [new pull request](https://github.com/roanvanbao/l5-getresponse/pulls)
## Issues
When you meet any issue, please create [new issue](https://github.com/roanvanbao/l5-getresponse/issues)
## Todo
* Add test