affenpilot/timeline

There is no license information available for the latest version (v1.0.0) of this package.

This package is used for timeline.

v1.0.0 2017-11-11 21:31 UTC

This package is not auto-updated.

Last update: 2025-07-27 20:26:22 UTC


README

This is a basic timeline module for Laravel.

Installation

Add the following line in the providers array in 'config\app.php':

...

'providers' => [
    ...
    Affenpilot\Timeline\TimelineServiceProvider::class
    ...
]

...

Publish and migrate:

php artisan vendor:publish --provider="Affenpilot\Timeline\TimelineServiceProvider"

Usage

<?php

namespace App;

use Affenpilot\Timeline\HasPosts;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    use HasPosts;
}