Controller in Laravel

Posted on: Wednesday March 29, 2023

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

Remove public from url in Laravel

Posted on: Saturday March 25, 2023

STEP 1 : Check root folder for  server.php, if there is no any server.php just create one with given code below: [crayon-6636cb9128d2c180051176/]     STEP 2: If you want to remove public [...]

Read More

Start with Laravel

Posted on: Saturday March 25, 2023

Introduction and requirements for laravel. For starting the project on laravel we need 3 things to be installed in our system. Composer Use E:\xampp8\php\php.exeforcomposer PHP path. Node and NPM. if [...]

Read More