luongtran / llaminas-diactoros
PSR HTTP Message implementations
Requires
- php: >=5.4
- laminas/laminas-zendframework-bridge: 0.3.2
- psr/http-message: ~0.9
Requires (Dev)
- phpunit/phpunit: ~4.6
- squizlabs/php_codesniffer: ^2.3.1
Provides
- psr/http-message-implementation: ~1.0.0
Replaces
- zendframework/zend-diactoros: 1.0.1
This package is not auto-updated.
Last update: 2024-11-09 09:48:28 UTC
README
Diactoros (pronunciation:
/dɪʌktɒrɒs/
): an epithet for Hermes, meaning literally, "the messenger."
This package supercedes and replaces phly/http.
laminas-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/laminas/laminas-diactoros/issues
- Issue patches to https://github.com/laminas/laminas-diactoros/pulls
Documentation
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
; 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"