23/04
2018
Wallogit.com
2017 © Pedro Peláez
Using this package you can register Events and Tags straight from your Eloquent models., (*1)
Here are a few examples of the provided methods:, (*2)
// fetch a user
$user = User::first();
// add an Event for this user
$user->registerEvent('received_job_offer', ['job_title' => 'great_job']);
// add a Tag for this user
$user->addTag('candidate');
This package can be installed through Composer., (*3)
``` bash composer require li0nel/laravel-drip, (*4)
In Laravel 5.5 and above the package will autoregister the service provider. In Laravel 5.4 you must install this service provider. ```php // config/app.php 'providers' => [ ... li0nel\Drip\DripServiceProvider::class, ... ];