New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jaiwalker/bronto-laravel

Bronto Integration to laravel.
2,146
Install
composer require jaiwalker/bronto-laravel
Latest Version:v0.1
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Jul 10, 2017
Links: GitHub  ·  Packagist
Maintainer: jaiwalker

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(); 
}

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
v0.1 >=5.5.9 ~5.0 MIT