baytek/laravel-statusbit

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

Model Status Bits

Installs: 146

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/baytek/laravel-statusbit

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;
}