|
8 лет назад | |
---|---|---|
.. | ||
src | 8 лет назад | |
.coveralls.yml | 8 лет назад | |
CHANGELOG.md | 8 лет назад | |
CONTRIBUTING.md | 8 лет назад | |
LICENSE.md | 8 лет назад | |
README.md | 8 лет назад | |
composer.json | 8 лет назад | |
phpcs.xml | 8 лет назад |
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.
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/
Bookdown
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
.