code: public function register()
    {
        $this->app['jalali'] = $this->app->share(function($app)
    		{
    		  return new jDate;
  	});
        $this->app->booting(function()
        {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('jDate', 'Miladr\Jalali\jDate');
  	});
  	
        $this->app['jDateTime'] = $this->app->share(function($app)
    		{
    		  return new jDateTime;
  	});
        $this->app->booting(function()
        {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('jDateTime', 'Miladr\Jalali\jDateTime');
  	});
  
  
    }
docs: Register the service provider.
  
  @return void