baytek/laravel-statusbit

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

Model Status Bits

1.4.1 2018-06-04 18:56 UTC

README

Laravel License

Installation

Composer

Add this to your composer.json file, in the require object:

"baytek/laravel-statusbit": "dev-master"

After that, run composer install to install the package.

Configuration

Model Setup

Next, add the StatusBit trait to each of your statusable model definition:

use Baytek\Laravel\StatusBit\Statusable;

class Post extends Eloquent
{
    use Statusable;
}