skoellen / laravel-occasion-manager
Manage your events, occasions etc.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/skoellen/laravel-occasion-manager
Requires (Dev)
- orchestra/testbench: ~3.0
This package is auto-updated.
Last update: 2023-12-29 03:23:47 UTC
README
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; // }