Laravel 9 Integrating AdminLTE 3 Example

In this section we will see how to easily install & setup adminlte 3 with laravel 9.


Create Laravel Project

composer create-project laravel/laravel laravel-adminlte

Now, fill the details in env file.

.env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=database_user_name
DB_PASSWORD=database_password


Install Laravel UI AdminLTE 3

composer require infyomlabs/laravel-ui-adminlte

To Generate a full authentication UI,

php artisan ui adminlte --auth

To Install just AdminLTEtheme assets,

php artisan ui adminlte

And then run,

npm install && npm run dev

migrate database

php artisan migrate 


http://localhost:8000/register

laravel 9 with adminlte 3

laravel 9 with adminlte 3

After register http://localhost:8000/home

adminlte home page

adminlte home page


Tags: