src/Provider/LaravelServiceProvider.php
public function register()
    {
        $this->setupConfig();

        /** @var \App\Http\Kernel $kernel */
        $kernel = $this->app->make('Illuminate\Contracts\Http\Kernel');

        $this->app->instance('alexa.router.middleware', $this->gatherAppMiddleware($kernel));

        // Register our universal service provider
        $this->app->register('Develpr\AlexaApp\Provider\AlexaServiceProvider');

        $this->addRequestMiddlewareToBeginning($kernel);
    }
public function register()
    {
        $this->setupConfig();

        /** @var \App\Http\Kernel $kernel */
        $kernel = $this->app->make('Illuminate\Contracts\Http\Kernel');

        $this->app->instance('alexa.router.middleware', $this->gatherAppMiddleware($kernel));

        // Register our universal service provider
        $this->app->register('Develpr\AlexaApp\Provider\AlexaServiceProvider');

        $this->addRequestMiddlewareToBeginning($kernel);
    }
Register the service provider.