a2way / laravel-app-settings
Save data in a table called "app_settings" and retrieve them.
Installs: 208
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 2
pkg:composer/a2way/laravel-app-settings
Requires
- illuminate/support: 5.*
This package is auto-updated.
Last update: 2025-10-06 11:10:39 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"