Support the ongoing development of Laravel.io →
Laravel Breeze Blade

I have successfully installed all lamp stack in order to run laravel on my debian 12 local server, and i have successfully cloned the app from my github repository, when i try to access the app through the browser, i have this error Target class [App\Http\Middleware\Localization] does not exist, whereas it exists. please i need help

0

Run

composer update

in project dir. If you still get the error try clearing caches.

php artisan config:clear
php artisan route:clear
php artisan cache:clear
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.