Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php laravel config

Config::get('app.timezone');
//get with Default value
Config::get('app.timezone', 'UTC');
//set Configuration
Config::set('database.default', 'sqlite');
Source by learninglaravel.net #
 
PREVIOUS NEXT
Tagged: #php #laravel #config
ADD COMMENT
Topic
Name
5+1 =