Part 4 - Controller Basics [How to Build a Blog with Laravel 5 Series]

محسن
We have been learning about Laravel 5 controllers for a while now and now its time to make our first controller. While this will ...
We have been learning about Laravel 5 controllers for a while now and now its time to make our first controller. While this will be the "dumbest" controller we make (it will contain less logic than most of our controllers will), it is still necessary in order to pull some of the logic out of the routes file where it does not belong. In Laravel 5, controllers are made up of PHP public functions called "actions". We use these actions for each route that we have. We use our routes file to

همه توضیحات ...