Controller in Laravel

Posted on: Wednesday March 29, 2023

Create controller file ‘app/Http/Controllers/ProductController.php‘ and paste the given code below [crayon-676883f21955a409802555/] 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