li0nel / laravel-drip
There is no license information available for the latest version (dev-master) of this package.
dev-master
2018-04-23 19:57 UTC
Requires
- guzzlehttp/guzzle: ^6.3
This package is not auto-updated.
Last update: 2024-12-11 12:00:43 UTC
README
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');
Installation
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, ... ];