Download the PHP package agile/phpeditdotenv without Composer
On this page you can find all versions of the php package agile/phpeditdotenv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download agile/phpeditdotenv
More information about agile/phpeditdotenv
Files in agile/phpeditdotenv
Download agile/phpeditdotenv
More information about agile/phpeditdotenv
Files in agile/phpeditdotenv
Please rate this library. Is it a good library?
Informations about the package phpeditdotenv
phpeditdotenv
编辑“.env”文件
加载
composer require 'agile/phpeditdotenv:~1.0'
或者在composer.json文件中添加
"require": {
"agile/phpeditdotenv": "~1.0"
}
使用
use Agile\Phpeditdotenv\Dotenv;
public function index()
{
// 读取
$envData = Dotenv::load(realpath('../'));
var_dump($envData);
// 修改某一项参数并保存
$envData['CACHE_DRIVER'] = 'redis';
Dotenv::save($envData, realpath('../'));
}
All versions of phpeditdotenv with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package agile/phpeditdotenv contains the following files
Loading the files please wait ....