Member-only story
Laravel create an admin panel from scratch — Part 1 — Installation
Laravel installation steps in Docker or Install Laravel via Composer in WAMP or XAMPP
Laravel is a web application framework, an open-source PHP web framework. Laravel is following the model–view–controller (MVC) architectural design pattern.
Modern days Laravel framework is used to build API services for decoupled architecture.
In this blog series, we going to build our Laravel Admin panel with basic features.
Installation
All the installation details are available in the official Lavarvel document. We can install Laravel on your existing web server (WAMP or XAMPP) or Docker.
- 1. Installation via Composer
- 2. Install Laravel on Docker
1. Installation via Composer
Install your Laravel using Composer, if you already have WAMP or XAMPP installation and Composer on your computer.
composer create-project laravel/laravel my-app
cd my-app
After the application has been created, you may start Laravel’s local development server using the Artisan CLI’s serve
command:
php artisan serve

MySQL Database
Now our application is ready. Create a new database in your PhpMyAdmin and add the DB details in the root directory .env
file.
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=my_app
DB_USERNAME=root
DB_PASSWORD=password
2. Install Laravel on Docker
Install Docker Desktop, If you using Mac or Windows computer. For Windows, you should ensure that Windows Subsystem for Linux 2 (WSL2) is installed and enabled. WSL allows you to run Linux binary executables natively on Windows 10. Information on how to install and enable WSL2 can be found within Microsoft’s developer environment documentation.