Download the PHP package aecor/statusable without Composer
On this page you can find all versions of the php package aecor/statusable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aecor/statusable
More information about aecor/statusable
Files in aecor/statusable
Package statusable
Short Description Add status to any model
License MIT
Homepage https://github.com/aecor/statusable
Informations about the package statusable
Add status to any model
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage and few examples
Prepare your model
Get instance of your model
All the common fields are available in database given below, additionally you can store your own details as json in 'custom_attributes' field. All the fields are kept nullable to make it easy implementation.
Add a single contact
Add multiple status
Assign new status
Sync status
Get all status
Get first status
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Abrar Dhalwala
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of statusable with dependencies
illuminate/contracts Version ^8.0
spatie/laravel-sluggable Version ^2.6