Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 539 Bytes

File metadata and controls

13 lines (10 loc) · 539 Bytes

php_http

It uses HTTP's request/response model, both for JSON API and for templatized MVC. It supports hard-coded input e.g. for testing. It is written in PHP7 with no special dependancies. Run with: "sudo php -S 0.0.0.0:88" (after going into the project directory) or use "php -a".

Features:

  • it has some routing
  • it can output JSON or HTML
  • it uses PHP for templating
  • it handles POST and other HTTP verbs
  • a view can have sub-views
  • it works with PHP's built-in server
  • it can be used with PHP's interactive mode ("php -a")