Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
There is another alternative: AutoRoute automatically maps incoming HTTP requests (by verb and path) to PHP action classes in a specified namespace. No more route files or annotations/attributes.
Take a somewhat random pic in a larger project -- https://github.com/firefly-iii/firefly-iii/blob/main/routes/api.php -- in 30 seconds you can tell how the app is organized, the general approach and style, and basically everything it does....even what it is without looking first. (I don't know if perhaps "debug:router --show-controllers" is commonly dumped somewhere for similar utility without having to actually load things up to mess with it?)