code: public function register()
      {
          $this->app->singleton('jsvalidator', function ($app) {
              $config = $app['config']->get('jsvalidation');
  
              return new JsValidatorFactory($app, $config);
          });
      }
docs: Register the application services.
  
  @return void