@alariva Your problem is that the order of load is app, then packages. So everything in the main app will load before any of the packages.
I'm assuming the "Application catch everything, run last" is the end route in the route file - https://github.com/alariva/timegrid/blob/master/app/Http/routes.php#L389
Perhaps, you can make a package and have the service provider load that one route, but have it load after the backend.
So in the app/config it would be something like:
// app\config.php
'providers' => [
...
Alariva\Tidiochat\TidioChatServiceProvider::class,
// load backend service provider (or where ever)
// load catch all service provider (last in the providers array)
],
So you have ... Base App Service Providers... (Main app routes load) BackendServiceProvider.php...(Backend route loads) CatchAllRouteServiceProvider.php... (the catch all route loads)
I know it sounds odd to have a package just for the catchall, but I think you can control when the route loads that way.