Route Organizer for Laravel
Route Organizer for Laravel is simple route solution to organize your Routes., (*1)
Install
Require this package with composer using the following command, (*2)
composer require tibian/route-organizer
Usage
Open App\Providers\RouteServiceProvider on method mapWebRoutes / mapApiRoutes define new Routes for the Application., (*3)
new RouteOrganizer('routes/web');
new RouteOrganizer('routes/api');
Example for web routes
  Note: The same you can do of course and for the api Routes
protected function mapWebRoutes()
{
    Route::group([
        'middleware' => 'web',
        'namespace' => $this->namespace,
    ], function ($router) {
        new RouteOrganizer('routes/web'); // new Web Routes for the Application
        require base_path('routes/web.php');
    });
}
  
  Now you can Organize your Routes as you wish.
  * The following example is the best if you use PHPStorm and Laravel Plugin, (*4)
  
  /path/to/laravel/routes, (*5)
 , (*6)
, (*6)
Thank you for visiting my Repository.