src/PurifierServiceProvider.php
public function register()
    {
        $this->mergeConfigFrom($this->getConfigSource(), 'purifier');
        
        $this->app->singleton('purifier', function (Container $app) {
            return new Purifier($app['files'], $app['config']);
        });

        $this->app->alias('purifier', Purifier::class);
    }
public function register()
    {
        $this->mergeConfigFrom($this->getConfigSource(), 'purifier');
        
        $this->app->singleton('purifier', function (Container $app) {
            return new Purifier($app['files'], $app['config']);
        });

        $this->app->alias('purifier', Purifier::class);
    }
Register the service provider.

@return void