sorien/silex-pimple-dumper
最新稳定版本:2.0.0
Composer 安装命令:
composer require sorien/silex-pimple-dumper
包简介
Pimple File Dumper - Helper Provider for Silex Idea Plugin
README 文档
README
Install using composer.
Silex 2.x
composer require sorien/silex-pimple-dumper "~2.0"
Silex 1.x
composer require sorien/silex-pimple-dumper "~1.0"
Registering
$app->register(new Sorien\Provider\PimpleDumpProvider());
The service will write the container dump file to Composer's parent directory (vendor/../pimple.json) by default. Set the dump.pathpimpledump.output_dir parameter if you need to specify the output directory path.
- Example:
$app['pimpledump.output_dir'] = '/tmp'
A container dump can be manually invoked by making a GET request to http://your_project/_dump or, if provided, the route path pattern specified by the pimpledump.trigger_route_pattern parameter.
- Example:
$app['pimpledump.trigger_route_pattern'] = '/_dump_pimple'
If you are in a dev enviroment ($app['debug'] = true) the service will automatically dump the container during shutdown if it wasn't done earlier within the lifecycle.
统计信息
- 总下载量: 467.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-04