Need Assistance?

support@tutorialshub.in

Controllers & MVC Architecture

Creating & Using Controllers

ADVERTISEMENT
Laravel Free Lesson
5 min read
ADVERTISEMENT

Generate a controller using php artisan make:controller. Putting logic in controllers keeps routes/web.php short and allows Laravel to cache your routes for maximum speed in production.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you