pmvc-plugin / dotenv
PMVC Plugin For phpdotenv
Installs: 2 782
Dependents: 7
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
README
PMVC Dot Env plugin
Comment
- Need use ;
- http://php.net/manual/en/function.parse-ini-file.php#refsect1-function.parse-ini-file-examples
; This is a sample configuration file
; Comments start with ';', as in php.ini
Reserved special characters
- Characters ?{}|&~![()^" must not be used anywhere in the key and have a special meaning in the value.
- http://php.net/manual/en/function.parse-ini-string.php
?{}|&~![()^"
Install with Composer
CLICK TO SEE
### 1. Download composer * mkdir test_folder * curl -sS https://getcomposer.org/installer | php
2. Install Use composer.json or use command-line directly
2.1 Install Use composer.json
- vim composer.json
{
"require": {
"pmvc-plugin/dotenv": "dev-main"
}
}
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc-plugin/dotenv
or
- composer require pmvc-plugin/dotenv