- https://github.com/pmvc-plugin/dotenv
- How to defined array? Ans: use "underscore" plugin
- Prefix with '_', and the key will call constant($k)
- https://github.com/pmvc-app/dimension/blob/master/index.php#L55-L68
- Prefix with escap character such as '\'.
- If detected key start with escap character will bypass underscore process
* add a config base=xxx at start of file
base=xxx
- Important: only allow extend with same level configs
\PMVC\option('set', 'dimensionCallback', function(){
});
- ?--trace=xxx
- dimension
- level information
- dimension-level
- level merge information
- dimension-file
- different file source merge information
- Deployment environment
- APP
- Plug-in
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
- vim composer.json
{
"require": {
"pmvc-app/dimension": "dev-master"
}
}
- php composer.phar install
- php composer.phar require pmvc-app/dimension