gavinggordon/predefiner
Composer 安装命令:
composer require gavinggordon/predefiner
包简介
A simple package to quickly and dynamically set PHP constants.
README 文档
README
Description
This class (GGG\Config\Predefiner) is a simple package to quickly and dynamically set PHP constants.
Usage
Installation
composer require gavinggordon/predefiner
Examples
Instantiation:
include_once( __DIR__ . '/vendor/autoload.php' ); $predefiner = new \GGG\Config\Predefiner();
Setting:
$predefiner->set( ['API_KEY' => 'abc123def456hij789klm0'] );
Initializing:
$predefiner->init(); echo API_KEY; // Result: 'abc123def456hij789klm0';
Issues
If you have any issues at all, please post your findings in the issues page at https://github.com/gavinggordon/predefiner/issues.
License
This package utilizes the MIT License.
统计信息
- 总下载量: 608
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-23