To create a management screen with Laravel, I wanted to use the template AdminLTE, and started with installing Laravel.

$composer create-project "laravel/laravel = 6.0. *" project
I installed Laravel 6.5 with


* The reason for using Laravel6 is that AdminLTE has recently been upgraded and the latest version (version 3) requires Laravel 6.0 or higher.

After installing, I wanted to put the files in the project directly under the document root.

$mv *. [^ \.] * ..

moved the file.

At this point, Laravel's default page has been successfully displayed, so

$composer require jeroennoten/laravel-adminlte
Installed AdminLTE in


After this,

'providers' =>[
    JeroenNoten \ LaravelAdminLte \ ServiceProvider :: class,

to add a service provider and copy the AdminLTE assets file to the public folder

$php artisan vendor: publish --provider = "JeroenNoten \ LaravelAdminLte \ ServiceProvider" --tag = assets

is executed,

In ProviderRepository.php line 208:
  Class 'JeroenNoten \ LaravelAdminLte \ ServiceProvider' not found
I get an error with


What is the cause of this?

  • Answer # 1

    It doesn't seem to do the same thing as the work on the official website.