li0nel/laravel-drip is a Laravel package.
It currently has 1 GitHub stars and 7 downloads on Packagist.
Install it with composer require li0nel/laravel-drip.
Discover more Laravel packages by li0nel
or browse all Laravel packages to compare alternatives.
Last updated
Using this package you can register Events and Tags straight from your Eloquent models.
Here are a few examples of the provided methods:
// 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.
composer require li0nel/laravel-drip
In Laravel 5.5 and above the package will autoregister the service provider. In Laravel 5.4 you must install this service provider.
// config/app.php
'providers' => [
...
li0nel\Drip\DripServiceProvider::class,
...
];