I am developing a package using Laravel 5.4
My Package routes are loaded on php artisan route:list
GET|HEAD | mobilpay | | Closure
POST | mobilpay | | Closure
So this means that my PackageServiceProvider is working well, right ? i`ve used this in boot()
$this->loadRoutesFrom(__DIR__.'/routes.php');
Everything was working fine, until i`ve removed another vendor package unsing composer, then the only working routes were just local routes from the basic install and the routes from my package are still shown but returns the traditional error for unexisting route
NotFoundHttpException in RouteCollection.php line 179:
Solutions i`ve tried:
- new Laravel installation and copy just the package files alongside with adding the provider to providers list, and edit the composer.json
- composer update
- composer dump-autoload
- composer clear-cache
- php artisan cache:clear
- php artisan route:clear
- php artisan view:clear
- delete the vendor folder and run composer install
Any solutions are welcome
via Spidey