2017 © Pedro Peláez
 

library bamlt

Send a lead to the default BAM Lead Tracker web service.

image

anakadote/bamlt

Send a lead to the default BAM Lead Tracker web service.

  • Friday, November 3, 2017
  • by anakadote
  • Repository
  • 1 Watchers
  • 0 Stars
  • 305 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

BAM Lead Tracker Service Class

Send a lead to the default BAM Lead Tracker web service., (*1)

Begin by installing this package through Composer. Edit your project's composer.json file to require anakadote/bamlt., (*2)

"require": {
    "anakadote/bamlt": "dev-master"
}

Next, update Composer from the Terminal:, (*3)

composer update

Usage

There is one public method available, send(string $uri, array $input, $is_client_uri = false), which takes three parameters:, (*4)

  1. $uri - (required) BAM Lead Tracker URI
  2. $input - (required)
  3. $is_client_uri - true for a Client URI, false for a Store URI, (*5)

    with(new BAMLT)->send(BAMLT_URI, $input);, (*6)

Laravel

To use with Laravel, add the service provider. Open config/app.php and add a new item to the providers array., (*7)

Anakadote\BAMLT\BAMLTServiceProvider::class

This package is also accessible via a Laravel Facade so to use simply call its methods on the Facade "BAMLT":, (*8)

BAMLT::send(env('BAMLT_URI'), $request->all())

The Versions

03/11 2017

dev-master

9999999-dev

Send a lead to the default BAM Lead Tracker web service.

  Sources   Download

The Requires

  • php >=5.4.0

 

by Taylor Collins

laravel