Laravel 9 Tutorial Complete Playlist:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ In Part-31 of the https://youtu.be/T0Xm6Xm_Dvw create a Multi-Vendor E-commerce Website in Laravel, we will continue working on the Categories module. In this video, we will display categories in the admin panel and will also work on enable/disable functionality and will show categories in datatable. Create GET route in web.php file in admin middleware group prefixed with admin and having namespace Admin for displaying categories in admin panel:-

Now create categories function in CategoryController to write query to display all the categories in admin panel and return to categories blade file that we will create under /resources/views/admin/categories/ folder.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners