2017 © Pedro Peláez
 

library l5-getresponse

GetResponse API Integration for Laravel 5.*

image

baorv/l5-getresponse

GetResponse API Integration for Laravel 5.*

  • Thursday, July 5, 2018
  • by roanvanbao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

l5-getresponse

Build Status License , (*1)

GetResponse API Integration for Laravel 5.*, (*2)

Installation

You can install package "baorv/l5-getresponse" by command, (*3)

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., (*4)

...
    "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, (*5)

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, (*6)

./artisan vendor:publish --provider="Secomapp\\GetResponse\\GetResponseServiceProvider"

Some configuration you can set up from .env, (*7)

GETRESPONSE_APIURL=https://api.getresponse.com/v3 #Optional
GETRESPONSE_APIKEY=

Usage

In everywhere, you can use to work with GetResponse, (*8)


use Secomapp\GetResponse\Facades\GetResponse; GetResponse::accounts(); GetResponse::getCampaigns(); GetResponse::getCampaign($campaign_id);

Helpers

Another way to work with GetResponse, (*9)

getresponse_accounts();
getresponse_get_campaigns();
getresponse_get_campaign();

Contributing

If you have any idea or update for library, please create new pull request, (*10)

Issues

When you meet any issue, please create new issue, (*11)

Todo

  • Add test

The Versions

05/07 2018

dev-master

9999999-dev https://github.com/roanvanbao/l5-getresponse

GetResponse API Integration for Laravel 5.*

  Sources   Download

MIT

The Requires

 

The Development Requires

by baorv

laravel api integration getresponse secomapp