Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.1 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.1 KB

Laravel Timeliner (with DynamoDB)

               

Basic Overview

Create a timeline Mirroring your models or add standalone events

Install

composer require convenia/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