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
Requires
- php: >=5.6.4
README
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; }