2017 © Pedro Peláez
 

library laravel-ontraport

A Laravel package to easily integrate the Ontraport API.

image

wallstreetio/laravel-ontraport

A Laravel package to easily integrate the Ontraport API.

  • Wednesday, August 23, 2017
  • by wallstreetio
  • Repository
  • 2 Watchers
  • 2 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

Laravel Ontraport API

Build Status Software License Latest Version , (*1)

Laravel Ontraport API is simply a Laravel bridge for the Ontraport API., (*2)

Installation

composer require wallstreetio/laravel-ontraport

Configuration

Add \Wsio\Ontraport\OntraportServiceProvider to your providers list in config/app.php file., (*3)

    'providers' => [
        Wsio\Ontraport\OntraportServiceProvider::class,
    ]

Optionally, you may also add the Ontraport facade to your aliases list., (*4)

    'aliases' => [
        'OAP' => Wsio\Ontraport\Facade\Ontraport::class,
    ]

Publish the configuration file., (*5)

php artisan vendor:publish --provider="Wsio\Ontraport\OntraportServiceProvider"

Add your Ontraport ONTRAPORT_APP_ID and ONTRAPORT_API_KEY to your .env file., (*6)

ONTRAPORT_APP_ID="your-ontraport-app-id"
ONTRAPORT_API_KEY="your-ontraport-api-key"

Usage

public function index(\Wsio\Ontraport\Ontraport $ontraport)
{
    return $ontraport->contacts->get();
}

Or using the facade, (*7)

public function show($id)
{
    return OAP::contacts()->find($id);
}

For full documentation, please refer to the Ontraport API package., (*8)

License

WallStreet.io Laravel Ontraport API is open-sourced software licensed under The MIT License (MIT)., (*9)

The Versions

23/08 2017

dev-master

9999999-dev

A Laravel package to easily integrate the Ontraport API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tamer Ashkar

laravel api oap ontraport

23/08 2017

dev-travis

dev-travis

A Laravel package to easily integrate the Ontraport API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tamer Ashkar

laravel api oap ontraport

23/08 2017

v1.0.0

1.0.0.0

A Laravel package to easily integrate the Ontraport API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tamer Ashkar

laravel api oap ontraport

07/03 2017

v1.0.0-alpha

1.0.0.0-alpha

A Laravel package to easily integrate the Ontraport API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tamer Ashkar

laravel api oap ontraport