felixsand/phpinisetter
Composer 安装命令:
composer require felixsand/phpinisetter
包简介
Console command for setting php.ini configs
README 文档
README
A simple console command for setting a php.ini setting in a convinient way. Useful for example in development or testing environments.
Installation
Add the package as a requirement to your composer.json:
$ composer require felixsand/phpinisetter
Usage
You can either use the binary directly (from your application root):
$ sudo vendor/bin/phpinisetter phpIni:set <iniSettingToChange> <newValue>
or include it in your existing console script
#!/usr/bin/env php <?php require __DIR__.'/vendor/autoload.php'; use PhpIniSetter\PhpIniSetter; use Symfony\Component\Console\Application; $application = new Application(); $application->add(new PhpIniSetter()); $application->run();
Requirements
- PHP 7.1 or above.
Author
Felix Sandström http://github.com/felixsand
License
Licensed under the MIT License - see the LICENSE file for details.
统计信息
- 总下载量: 659
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-09