Skip to content

Demo repo to show how to validate routes, POST requests and GET request query strings using Silex. There is a corresponding article on medium explaining the process. The master branch is the basic set up. There are 3 other branches which all build on each other: route, getrequest and postrequest. To see everything in context view the postrequest…

Notifications You must be signed in to change notification settings

peterlafferty/silex-request-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • run composer install to set up autoloader and dependencies
  • set up server `php -S localhost:8080 -t ."

Then call the end points:

  • [GET] /emoji/
  • [GET] /emoji/{id}
  • [POST] /emoji/

About

Demo repo to show how to validate routes, POST requests and GET request query strings using Silex. There is a corresponding article on medium explaining the process. The master branch is the basic set up. There are 3 other branches which all build on each other: route, getrequest and postrequest. To see everything in context view the postrequest…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages