src/LumenServiceProvider.php
public function register()
    {
        //Bind config
        $this->app->bind('Mookofe\Tail\Message', function ($app) {
            return new Message($app->config);
        });
        $this->app->bind('Mookofe\Tail\Listener', function ($app) {
            return new Listener($app->config);
        });

        //Register Facade
        $this->app->bind('Tail', 'Mookofe\Tail\Tail');

        if (!class_exists('Tail')) {
            class_alias('Mookofe\Tail\Facades\Tail', 'Tail');
        }

        //Add App facade if is lumen >5.2
        if (!class_exists('App') && $this->version() >= 5.2) {
            class_alias('Illuminate\Support\Facades\App', 'App');
        }       
    }
public function register()
    {
        //Bind config
        $this->app->bind('Mookofe\Tail\Message', function ($app) {
            return new Message($app->config);
        });
        $this->app->bind('Mookofe\Tail\Listener', function ($app) {
            return new Listener($app->config);
        });

        //Register Facade
        $this->app->bind('Tail', 'Mookofe\Tail\Tail');

        if (!class_exists('Tail')) {
            class_alias('Mookofe\Tail\Facades\Tail', 'Tail');
        }

        //Add App facade if is lumen >5.2
        if (!class_exists('App') && $this->version() >= 5.2) {
            class_alias('Illuminate\Support\Facades\App', 'App');
        }       
    }
Register the service provider.

@return void