Download the PHP package slepic/psr-http-message-tracy-panel without Composer
On this page you can find all versions of the php package slepic/psr-http-message-tracy-panel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download slepic/psr-http-message-tracy-panel
More information about slepic/psr-http-message-tracy-panel
Files in slepic/psr-http-message-tracy-panel
Package psr-http-message-tracy-panel
Short Description A panel for Tracy, that traces PSR HTTP messages travelling between your PHP backend and other HTTP servers.
License BSD-3-Clause
Informations about the package psr-http-message-tracy-panel
psr-http-message-tracy-panel
A panel for Tracy, that traces PSR HTTP messages travelling between your PHP backend and other HTTP servers.
Requirements
PHP ^5.6 or ^7.0
Installation
Install with composer:
Usage
Basicaly you just need to:
-
create the bar panel using the factory and register it with .
-
to create the panel instance you will need to feed it with an iterator of instances of .
-
simple implementation of such iterator is included in the package and is named , which simply stores transfer log in a PHP array.
- And lastly, you need to feed the storage with the transfer logs using your http client.
For complete usage exaple see this example!
And of course it is super simple to register the panel in Nette's DI as described here.
Changelog
0.3.1
- Improved readme
- Removed dependency on tracy as it is dependent indirectly (through slepic/teplated-tracy-bar-panel).
- Fixed dependecies to a versioned revision instead of just latest commit to master.
- Changed travis setup to only run tests in oldest and newest php versions supported by this package (that is 5.6 and 7.3).
0.3.0
- Removed class PsrHttpMessagePanel
- Factory is now used to create the panel, using TemplatedBarPanel class from package as the target implementation.
- Slepic\Psr namespace is now replaced by package
- support for guzzle moved to
- BC break: totally everythig
0.2.0
- Added support for transfer duration
- Improved panel layout
All versions of psr-http-message-tracy-panel with dependencies
slepic/templated-tracy-bar-panel Version ^0.2
slepic/http-transfer Version ^0.1 || ^1.0