Skip to content

miladmodaresi/laravel-timeliner

 
 

Repository files navigation

Laravel Timeliner (with DynamoDB)

               

Basic Overview

Create a timeline Mirroring your models or add standalone events

Install

composer require taam/timeliner

publish and register

php artisan vendor:publish --tag="checklistable"

Usage

configure your mirroring models

      use Timelinable;
	      
      public $mirrorableFormat = [
       'event-name' = [
         'fields' => [
           'field' => 'somefunction|function',
           'category' => 'category_name|static',
           'date' => 'created_at'
        ],
        'tags' => [
          'something|static',
          'model_field',
          'model.relation_field'
        ],
        'pinned' => 'model_field',
        'category' => 'model.relation_field'

Or add event manually

	$timelineService->createFromData();

License

Checklistable is open-sourced software licensed under the MIT license

About

Make a timeline attached a model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%