make:route

You can create a route by php ammar make:route and will ask you:

  • 1- What's route name?

  • 2- Is this route dynamic? (yes/no):

  • If no,

  • 3- What's available Type of request (GET, POST, PUT, PATCH, DELETE):

  • 4- Is this API? (yes,no):

  • If yes,

  • 3- Is this API? (yes,no):

then will be create a file

Last updated