Create Admin panel in Laravel 8.* using Backpack

Lyubomir Filipov
2 min readNov 20, 2021

--

In order to proceed you should have:
- Laravel installed
- virtual host ready for you
- xampp setup or other web server
- composer installed

#STEP 1: Create database

Create database using phpMyAdmin -> check credentials in .env file

Open phpMyAdmin — http://localhost/phpmyadmin/ or by clicking here

Create new database

Provide name and collation for your DB

In my case it is my_laravel and the collation is utf8mb4_general_ci

Update your .env file inside your laravel project docroot

Note: Check whether you have an user root and it has enough rights to write in that DB.

#STEP 2: Install items using composer

First step is to install

composer require backpack/crud:”4.1.*”

then

composer require backpack/generators --dev
composer require laracasts/generators --dev

#STEP 3: Install backpack

We need to make sure that .env file is updated and then run

php artisan backpack:install

#STEP 4: Open domain and register yourself

then open your domain /admin

Video

--

--

Lyubomir Filipov
Lyubomir Filipov

Written by Lyubomir Filipov

Group Architect at FFW, believer, developer, enthusiast

Responses (1)