Download the PHP package summergeorge/laravel-options without Composer
On this page you can find all versions of the php package summergeorge/laravel-options. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download summergeorge/laravel-options
More information about summergeorge/laravel-options
Files in summergeorge/laravel-options
Package laravel-options
Short Description Global options loaded from the database
License MIT
Homepage https://github.com/summergeorge/laravel-options
Informations about the package laravel-options
Laravel Options
Global key-value store in the database
Thank You
https://github.com/appstract/laravel-options
Installation
To get started with laravel-options, use Composer to add the package to your project's dependencies:
Publish, migrate
By running php artisan vendor:publish --provider="Summergeorge\Options\OptionsServiceProvider"
in your project all files for this package will be published. For this package, it's only a migration. Run php artisan migrate
to migrate the table. There will now be an options
table in your database.
Usage
With the option()
helper, we can get and set options:
If you want to check if an option exists, you can use the facade:
Console
It is also possible to set options within the console:
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-options with dependencies
illuminate/cache Version ^6.0|^7.0
illuminate/support Version ^6.0|^7.0
illuminate/database Version ^6.0|^7.0