a2way/laravel-app-settings
Save data in a table called "app_settings" and retrieve them.
208
3
| Install | |
|---|---|
composer require a2way/laravel-app-settings |
|
| Latest Version: | 1.1.0 |
| Laravel: | 5 |
| Last Updated: | Aug 31, 2015 |
| Links: | GitHub · Packagist |
Maintainer: budhajeewa
#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"
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.1.0 | 5.* | ||
| 1.0.0 | 5.* |
Pre-releases (2)
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.0.0-rc-2 | 5.* | ||
| 1.0.0-rc-1 | 5.* |