laravel-occasion-manager maintained by skoellen
Description
Manage your events, occasions etc.
Author
Last update
2020/04/29 13:14
(dev-master)
License
Downloads
6
Laravel Occasion Manager
This package helps to manage events or occasions. It is not heavily maintained, but fork it if you wish.
Installation
-
composer require skoellen/laravel-occasion-manager -
php artisan vendor:publish --provider="Skoellen\LaravelOccasionManager\LaravelOccasionManagerServiceProvider" -
Migrate the database
php artisan migrate
Usage
Create occasions with Occasion You can add the HasOccasions trait to a model which should be associated and can have occasions. E.g. your user model:
<?php
use SKoellen\LaravelOccasionManager\Traits\HasOccasions;
class User
{
use HasOccasions;
//
}