#A2Way Laravel App Settings ##Installing
- Require the package.
composer require a2way/laravel-app-settings
- Add the service provider the
providersarray in yourconfig/app.phpfile.
'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"