felicianoi9/dotenv
Composer 安装命令:
composer require felicianoi9/dotenv
包简介
This project consists of facilitating the use of the .env file in PHP projects, in order to protect the access information to banks and third party services such as E-mail, AWS and others.
README 文档
README
This project consists of facilitating the use of the .env file in PHP projects, in order to protect the access information to banks and third party services such as E-mail, AWS and others.
Este projeto consiste em facilitar o uso do arquivo .env em projetos PHP, a fim de proteger as informações de acessao a banco e serviços de terceiros como E-mail, AWS e outros.
.env file
It should preferably be in the project's root folder and should be called like this: "(new DotEnv (__ DIR __." /../. Env ")) -> load ()" so that the contents of the .env file can be obtained for $ _ENV ['KEYNAME']. In the .env file, write, without spaces;(example: KEYNAME=key_value). Note that lines beginning with # will not be read by the class.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-21