Download the PHP package signifly/laravel-configurable without Composer
On this page you can find all versions of the php package signifly/laravel-configurable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download signifly/laravel-configurable
More information about signifly/laravel-configurable
Files in signifly/laravel-configurable
Package laravel-configurable
Short Description Make your Eloquent models configurable.
License MIT
Homepage https://github.com/signifly/laravel-configurable
Informations about the package laravel-configurable
Easily make your Eloquent models configurable
The signifly/laravel-configurable
package allows you to easily make your Eloquent models configurable.
Below is a small example of how to use it.
Adding the column to your table migration:
Now you would be able to configure your user model:
Retrieving from your config is straightforward:
Removing attributes from config can be done like this:
Checking if an attribute exists in the config:
Retrieving an attribute as a collection:
You can also overwrite the config key:
Documentation
Until further documentation is provided, please have a look at the tests.
Installation
You can install the package via composer:
The package will automatically register itself.
Testing
Security
If you discover any security issues, please email [email protected] instead of using the issue tracker.
Credits
- Morten Poul Jensen
- All contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-configurable with dependencies
illuminate/database Version ^6.0|^7.0|^8.0
illuminate/support Version ^6.0|^7.0|^8.0