Skip to content

arkenidar/php_http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

It embraces HTTP's request/response model, both for JSON API and for ViewTemplates/MVC. Run with: "sudo php -S localhost:80" or use "php -a".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors