#A2Way Laravel App Settings
##Installing
- Require the package.
composer require a2way/laravel-app-settings
- Add the service provider the
providers
array in your config/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"