ifcastle/configurator-toml
最新稳定版本:v0.7.0
Composer 安装命令:
composer require ifcastle/configurator-toml
包简介
Configurator component for TOML syntax.
README 文档
README
Configurator for the IfCastle framework in TOML format.
Installation
This package must be installed within the IfCastle application environment, i.e., in
ifcastle/package-installer, if you want the dependencies to be correctly defined.
composer require ifcastle/configuator-toml
Usage
The package defines two toml files:
- the main application configuration file:
main.toml - the service registry:
services.toml
All files must be located in the root directory of the project.
Syntax
Automatic replacement for ENV variables will also work, i.e., syntax with "%":
[database] host = "%DB_HOST%" port = "%DB_PORT%" user = "%DB_USER%" password = "%DB_PASSWORD%"
See also the toml.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-03