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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners