Controller in Laravel

Posted on: Wednesday March 29, 2023

Create controller file ‘app/Http/Controllers/ProductController.php‘ and paste the given code below [crayon-673f58407d1d8930090766/] public function index() and public function detail($id) [...]

Read More

Route in Laravel

Posted on: Wednesday March 29, 2023

In the Laravel route there are 2 ways: Direct load view file from the route, No need to go to controller. Go to the Controller and perform the operation then load the view file. [...]

Read More