Diactoros (pronunciation:
/dɪʌktɒrɒs/
): an epithet for Hermes, meaning literally, "the messenger."
This package supercedes and replaces phly/http.
zend-diactoros
is a PHP package containing implementations of the accepted PSR-7 HTTP message interfaces, as well as a "server" implementation similar to node's http.Server.
- File issues at https://github.com/zendframework/zend-diactoros/issues
- Issue patches to https://github.com/zendframework/zend-diactoros/pulls
Documentation is in the doc tree, and can be compiled using bookdown:
$ bookdown doc/bookdown.json
$ php -S 0.0.0.0:8080 -t doc/html/ # then browse to http://localhost:8080/
You can install bookdown globally using
composer global require bookdown/bookdown
. If you do this, make sure that$HOME/.composer/vendor/bin
is on your$PATH
; on *nix-like systems, you can do this by adding the following line to your.bashrc
(or preferred shell RC file):export PATH="$HOME/.composer/vendor/bin:$PATH"