src/Providers/RouteServiceProvider.php
public function boot(Router $router)
    {
        if (!$this->app->routesAreCached()) {
            $router->group([
                'namespace' => $this->namespace,
            ], function (Router $router) {
                require __DIR__.'/../routes/web.php';
            });
        }
    }
public function boot(Router $router)
    {
        if (!$this->app->routesAreCached()) {
            $router->group([
                'namespace' => $this->namespace,
            ], function (Router $router) {
                require __DIR__.'/../routes/web.php';
            });
        }
    }
public function boot ( Router $ router ) { if ( ! $ this -> app -> routesAreCached ( ) ) { $ router -> group ( [ 'namespace' => $ this -> namespace , ] , function ( Router $ router ) { require __DIR__ . '/../routes/web.php' ; } ) ; } }
Register the webhook to router
@param Router $router
Register the webhook to router