jaiwalker / laravel-bronto by jaiwalker

Bronto Integration to laravel.
2,143
0
2
Package Data
Maintainer Username: jaiwalker
Maintainer Contact: kora.jayara@gmail.com (Jaikora)
Package Create Date: 2017-07-09
Package Last Update: 2017-07-10
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:03:46
Package Statistics
Total Downloads: 2,143
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel Bronto Integration

Installation

First, pull in the package through Composer.

Run composer require jaiwalker/bronto-laravel

And then, if using Laravel 5.2, include the service provider within config/app.php.

'providers' => [
   Jaiwalker\BrontoApi\BrontoServiceProvider::class,
];

To publish config run

php artisan vendor:publish --provider="Jaiwalker\BrontoApi\BrontoServiceProvider"

This should create a file {bronto} in config folder.

Usage

Within your controllers, before you use

public function whatever()
{
   BrontoApi::contact()->updateOrCreate(); 
   BrontoApi::contact()->getContactByEmail(); 
   BrontoApi::contact()->updateByEmail(); 
}