An overview of my programming style guide
Since I mainly work with Laravel, I’ll base the PHP section of this guide on this Framework. I’ll describe things like setting up routes, dealing with service providers, name spacing, unit tests, and exposing API endpoints here. I will not get into how these work, because that’s beside the point of this post. All I’m doing here is describing how they should be written and formatted.
The routes files will be split according to purpose. There will be name spaces for Web and Api routing. To keep clear overview for other developers, route groups will be used. An example can be found below.Posted on: April 29th, 2018