You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
This is responsible for handling incoming HTTP requests and providing a suitable response. Alpha controllers can generate responses including HTML, XML, JSON, PDFs and more. Controllers can also load and manipulate models, and render view templates in order to generate the appropriate HTTP response. To create a controller, run
php alpha g:controller path/to/controller
This creates the controller in your app/controllers directory. Controllers are very generic php files, so it's pretty easy to understand and use.