一个简单的DotEnv组件,用于处理.env文件中的环境变量(与CI4解耦)
github.com/bharatkumar200/SimplyDotEnv
源代码
问题
安装: 13
依赖项: 1
建议者: 0
安全: 0
星标: 1
关注者: 1
分支: 0
开放问题: 1
Requires
None
Requires (Dev)
Suggests
Provides
Conflicts
Replaces
MIT 2a84ad2cb4102c33926d16f225d1403d6afcb9f6
This package is auto-updated.
Last update: 2024-09-05 04:45:34 UTC
$dotenv = new SimplyDi\Dotenv(__DIR__); // directory where .env is present $dotenv->load(); // load the vars from .env file echo $_ENV['DEBUG']; // or getenv('DEBUG')