dev-master
9999999-dev https://github.com/furkankadioglu/PermaconPermanently Save and Set Config Variables For Laravel 5
MIT
The Requires
- php >=5.5.9
- illuminate/support 5.*
by Furkan Kadıoğlu
config laravel 5 laravel5 set permanently furkankadioglu
Wallogit.com
2017 © Pedro Peláez
Permanently Save and Set Config Variables For Laravel 5
, (*1)
Permanently Save and Set Config Variables For Laravel 5, (*2)
The best way to install this package is through your terminal via Composer., (*3)
Add the following line to the composer.json file and fire composer update, (*4)
"furkankadioglu/permacon": "dev-master"
Once this operation is complete, simply add the service provider to your project's config/app.php, (*5)
furkankadioglu\Permacon\PermaconServiceProvider::class,
'Permacon' => 'furkankadioglu\Permacon\Facade',
use Permacon;
return Permacon::get("app", "locale");
// returns "en"
Getting your config variables like Config:get("app.locale"), (*6)
use Permacon;
Permacon::set("config", "locale", "tr");
return Permacon::get("app", "locale");
//returns "tr"
Update config variables, (*7)
use Permacon;
Permacon::scan("database");
Scans config/database.php for making a copy., (*8)
use Permacon; Permacon::scanAll();
Scans config folder and generating copies for edit., (*9)
php artisan permacon:scan
Scans config folder and generating copies for edit., (*10)
Permanently Save and Set Config Variables For Laravel 5
MIT
config laravel 5 laravel5 set permanently furkankadioglu