Skip to content

siler-examples/route-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Route class

Siler example of using classes as route endpoints.

php -S localhost:8000 index.php
~ curl http://localhost:8000/todos
GET request to /todos
~ curl -X POST http://localhost:8000/todos
POST request to /todos

About

Siler example of using classes as route endpoints.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages