convenia/timeliner

Make a timeline in DynamoDB, mirror your models to timnelineformat

v1.1.4 2017-12-01 15:53 UTC

README

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