It sounds like you have a conflicting route in web.php
For example
Route::get('{foo}/{bar)', FoobarController::class)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have added barryvdh/laravel-translation-manager "^0.6.6" package under my existing laravel 10 app (which works under sail)
I run all steps with success, but openening url
localhost/translations/
root of my app is opened, not translation manager.
the same with url :
localhost/translations/Item
where Item is a group in ltm_translations table
Checking routes of the app I see :
./vendor/bin/sail php artisan route:list
POST translations/add/{groupKey} ............................................................................................................................................................................. Barryvdh\TranslationManager › Controller@postAdd
POST translations/delete/{groupKey}/{translationKey} ...................................................................................................................................................... Barryvdh\TranslationManager › Controller@postDelete
POST translations/edit/{groupKey} ........................................................................................................................................................................... Barryvdh\TranslationManager › Controller@postEdit
POST translations/find ...................................................................................................................................................................................... Barryvdh\TranslationManager › Controller@postFind
POST translations/groups/add ............................................................................................................................................................................ Barryvdh\TranslationManager › Controller@postAddGroup
POST translations/import .................................................................................................................................................................................. Barryvdh\TranslationManager › Controller@postImport
POST translations/locales/add .......................................................................................................................................................................... Barryvdh\TranslationManager › Controller@postAddLocale
POST translations/locales/remove .................................................................................................................................................................... Barryvdh\TranslationManager › Controller@postRemoveLocale
POST translations/publish/{groupKey} ..................................................................................................................................................................... Barryvdh\TranslationManager › Controller@postPublish
POST translations/translate-missing ............................................................................................................................................................. Barryvdh\TranslationManager › Controller@postTranslateMissing
GET|HEAD translations/view/{groupKey?} ........................................................................................................................................................................... Barryvdh\TranslationManager › Controller@getView
GET|HEAD translations/{groupKey?} ............................................................................................................................................................................... Barryvdh\TranslationManager › Controller@getIndex
I suppose that last translations must be triggered, but not
In routes/web.php file there are no any translations
In the file config/translation-manager.php there are no any url/route option...
Looking at https://stackoverflow.com/questions/38296905/a-catch-all-route-cuts-before-package-routes-translations-in-my-case-laravel branch I modified config/app.php so that Barryvdh package is before RouteServiceProvider:
Illuminate\Translation\TranslationServiceProvider::class,
...
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
Barryvdh\TranslationManager\ManagerServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\EventServiceProvider::class,
and running commands :
./vendor/bin/sail php artisan config:clear
./vendor/bin/sail php artisan route:clear
./vendor/bin/sail php artisan cache:clear
./vendor/bin/sail php artisan view:clear
./vendor/bin/sail php artisan clear-compiled
composer dump-autoload
But Anyway with url
localhost/translations/
My site page is opened...
What is wrong ?
Please or to participate in this conversation.