protected function setupPackage()
    {
        $source = realpath(__DIR__.'/../config/logviewer.php');

        $this->publishes([$source => config_path('logviewer.php')], 'config');
        $this->publishes([
            realpath(__DIR__.'/../assets/css') => public_path('assets/styles'),
            realpath(__DIR__.'/../assets/js')  => public_path('assets/scripts'),
        ], 'public');

        $this->mergeConfigFrom($source, 'logviewer');

        $this->loadViewsFrom(realpath(__DIR__.'/../views'), 'logviewer');
    }