skoellen/laravel-occasion-manager

This package is abandoned and no longer maintained. No replacement package was suggested.

Manage your events, occasions etc.

1.0.0 2020-04-29 11:14 UTC

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

  1. composer require skoellen/laravel-occasion-manager

  2. php artisan vendor:publish --provider="Skoellen\LaravelOccasionManager\LaravelOccasionManagerServiceProvider"

  3. 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;

    //
}