a2way / laravel-app-settings
There is no license information available for the latest version (1.1.0) of this package.
Save data in a table called "app_settings" and retrieve them.
1.1.0
2015-08-31 04:44 UTC
Requires
- illuminate/support: 5.*
This package is auto-updated.
Last update: 2024-11-06 09:09:45 UTC
README
#A2Way Laravel App Settings ##Installing
- Require the package.
composer require a2way/laravel-app-settings
- Add the service provider the
providers
array in yourconfig/app.php
file.
'A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider',
- Publish the migration file.
php artisan vendor:publish --provider="A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider"
- Run the migration.
php artisan migrate
- Use.
php artisan tinker
>>>A2Way\LaravelAppSettings\AppSettings::set('hello', 'world');
=>true
>>> A2Way\LaravelAppSettings\AppSettings::get('hello');
=> "world"