This week I learnt about Laravel backpack. We have been creating a lot of sites that need Admin CRUD (Create, Read, Update and Delete) functionalities. As a Developer we are always looking for ways to make our coding more stream lined and effective.
Laravel backpack is a framework that helps you set up and build Admin panels a lot quicker.
Once you have installed Laravel Backpack. All you need to do is:
php artisan make:migration create_users_table -- model=0 --schema="name:string, email:string:unique"
php artisan migrate
php artisan backpack:crud user, this will create a simple CRUD panel. This generates the following:
Once you have done this, you are set to start customizing your Admin panel for your specific needs.