1. Go to this page and download the library: Download infinety-es/config-manager library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
return [
/*
|--------------------------------------------------------------------------
| Routes group config
|--------------------------------------------------------------------------
|
| The default group settings for the translations routes.
|
*/
'route' => [
'prefix' => 'dashboard/config',
'middleware' => [
'web',
'auth',
'role:admin',
],
],
];
return [
'route' => [
'myData' => [ //This array can not be changed in this moment
'first',
'second',
'third',
],
'myObject' => [ //This array can be changed because has keys
'demo' => false,
'test' => true
]
'custom' => true, //This can be changed
'value' => 'my own value' //This can be changed
],
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.