a2way-com / laravel-app-settings by budhajeewa

Save data in a table called "app_settings" and retrieve them.
206
3
3
Package Data
Maintainer Username: budhajeewa
Maintainer Contact: budhajeewa@gmail.com (Supun Budhajeewa)
Package Create Date: 2015-05-06
Package Last Update: 2015-08-31
Home Page: http://a2way.com
Language: PHP
License: Unknown
Last Refreshed: 2024-11-20 03:00:06
Package Statistics
Total Downloads: 206
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 3
Total Watchers: 3
Total Forks: 2
Total Open Issues: 2

#A2Way Laravel App Settings ##Installing

  1. Require the package.
composer require a2way/laravel-app-settings
  1. Add the service provider the providers array in your config/app.php file.
'A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider',
  1. Publish the migration file.
php artisan vendor:publish --provider="A2Way\LaravelAppSettings\LaravelAppSettingsServiceProvider"
  1. Run the migration.
php artisan migrate
  1. Use.
php artisan tinker
>>>A2Way\LaravelAppSettings\AppSettings::set('hello', 'world');
=>true
>>> A2Way\LaravelAppSettings\AppSettings::get('hello');
=> "world"