Skip to content

NikolaySl/zend-diactoros

 
 

Repository files navigation

zend-diactoros

Master: Build status Coverage Status Develop: Build status Coverage Status

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

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"

About

PSR-7 HTTP Message implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%