Package with laravel route commands.
composer require mcmatters/laravel-route-commandsInclude the service provider within your config/app.php file.
'providers' => [
McMatters\RouteCommands\ServiceProvider::class,
]Available commands:
php artisan route:check— checks all routes for existing the methods in controller and unique route names.php artisan route:export— export all routes to json or xml file.