src/UploaderServiceProvider.php
public function register()
    {
        $this->app->singleton('uploader', function ($app) {
            return new UploaderManager($app);
        });

        $this->app->alias('uploader', 'Rymanalu\LaravelSimpleUploader\Contracts\Factory');

        $this->app->singleton('uploader.from', function ($app) {
            return $app['uploader']->from();
        });

        $this->app->alias('uploader.from', 'Rymanalu\LaravelSimpleUploader\Contracts\Uploader');
    }
public function register()
    {
        $this->app->singleton('uploader', function ($app) {
            return new UploaderManager($app);
        });

        $this->app->alias('uploader', 'Rymanalu\LaravelSimpleUploader\Contracts\Factory');

        $this->app->singleton('uploader.from', function ($app) {
            return $app['uploader']->from();
        });

        $this->app->alias('uploader.from', 'Rymanalu\LaravelSimpleUploader\Contracts\Uploader');
    }
Register the service provider.

@return void