mmo/guzzle-xdebug-middleware
最新稳定版本:v1.0.2
Composer 安装命令:
composer require mmo/guzzle-xdebug-middleware
包简介
Guzzle Middleware that adds XDEBUG_SESSION query parameter to all requests for a client.
README 文档
README
Guzzle Middleware that adds XDEBUG_SESSION query parameters to all requests
for a client.
Install (add to existing project)
composer require mmo/guzzle-xdebug-middleware
Using version ^1.0 for mmo/guzzle-xdebug-middleware
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing mmo/guzzle-xdebug-middleware (v1.0.0)
Cloning 4078657e79d1cd2ab8728eacee5ad824c11cf79f from cache
....
Usage
$xdebugMiddleware = Mmo\Guzzle\Middleware\XdebugMiddleware::create('phpstorm'); $stack = GuzzleHttp\HandlerStack::create(); $stack->push($xdebugMiddleware); $client = new GuzzleHttp\Client(['handler' => $stack]);
All requests made by the guzzle client above will include XDEBUG_SESSION=phpstorm in
the GET query.
统计信息
- 总下载量: 3.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-14