code: public static function boot ($path) {
  
          $path = rtrim($path,'/').'/';
  
          $env = self::getEnv();
          
          self::$app = new Container;
          self::$app['app'] = self::$app;
          self::$app['env'] = $env;
          self::$app['path'] = $path;
  
          //config
          self::bootConfig();
  
          self::bootClasses();
  
          self::bootView();
          
          self::bootProviders();
  
          Facade::setFacadeApplication(self::$app);
  
      }
docs: blade