Download the PHP package ice-php/config without Composer
On this page you can find all versions of the php package ice-php/config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ice-php/config
More information about ice-php/config
Files in ice-php/config
Download ice-php/config
More information about ice-php/config
Files in ice-php/config
Vendor ice-php
Package config
Short Description icePHP multi config
License MIT
Homepage https://github.com/ice-php/config
Package config
Short Description icePHP multi config
License MIT
Homepage https://github.com/ice-php/config
Please rate this library. Is it a good library?
Informations about the package config
实现读取多个配置目录下多个配置文件的功能
-
获取配置的值
Config::get(<配置文件名>,<配置键>,<下一级配置键>,...)
或
config(<配置文件名>,<配置键>,<下一级配置键>,...)
或
configDefault(<缺省值>,<配置文件名>,<配置键>,<下一级配置键>,...)
-
设置一个优先的配置目录
Config::insert(string $dir)
-
设置一个低优先的配置目录
Config::append(string $dir)
-
获取当前设置的运行配置
Config::mode():string
-
判断当前是否设置为调试模式
Config::isDebug():bool
-
获取当前模式
Config::mode(): string
- 配置文件示例
#### 本类会自动依优先级对配置目录进行搜索,直到找到指定的配置文件
All versions of config with dependencies
PHP Build Version
Package Version
The package ice-php/config contains the following files
Loading the files please wait ....