Neos.SiteKickstarter/Classes/Service/GeneratorService.php
public function generateSitePackage($packageKey, $siteName)
    {
        $this->packageManager->createPackage($packageKey, [
            'type' => 'neos-site',
            "require" => [
                "neos/neos" => "*",
                "neos/nodetypes" => "*"
            ],
            "suggest" => [
                "neos/seo" => "*"
            ]
        ]);

        $this->generateSitesXml($packageKey, $siteName);
        $this->generateSitesRootFusion($packageKey, $siteName);
        $this->generateSitesPageFusion($packageKey, $siteName);
        $this->generateDefaultTemplate($packageKey, $siteName);
        $this->generateNodeTypesConfiguration($packageKey);
        $this->generateAdditionalFolders($packageKey);

        return $this->generatedFiles;
    }
public function generateSitePackage($packageKey, $siteName)
    {
        $this->packageManager->createPackage($packageKey, [
            'type' => 'neos-site',
            "require" => [
                "neos/neos" => "*",
                "neos/nodetypes" => "*"
            ],
            "suggest" => [
                "neos/seo" => "*"
            ]
        ]);

        $this->generateSitesXml($packageKey, $siteName);
        $this->generateSitesRootFusion($packageKey, $siteName);
        $this->generateSitesPageFusion($packageKey, $siteName);
        $this->generateDefaultTemplate($packageKey, $siteName);
        $this->generateNodeTypesConfiguration($packageKey);
        $this->generateAdditionalFolders($packageKey);

        return $this->generatedFiles;
    }
public function generateSitePackage ( $ packageKey , $ siteName ) { $ this -> packageManager -> createPackage ( $ packageKey , [ 'type' => 'neos-site' , "require" => [ "neos/neos" => "*" , "neos/nodetypes" => "*" ] , "suggest" => [ "neos/seo" => "*" ] ] ) ; $ this -> generateSitesXml ( $ packageKey , $ siteName ) ; $ this -> generateSitesRootFusion ( $ packageKey , $ siteName ) ; $ this -> generateSitesPageFusion ( $ packageKey , $ siteName ) ; $ this -> generateDefaultTemplate ( $ packageKey , $ siteName ) ; $ this -> generateNodeTypesConfiguration ( $ packageKey ) ; $ this -> generateAdditionalFolders ( $ packageKey ) ; return $ this -> generatedFiles ; }
Generate a site package and fill it with boilerplate data.

@param string $packageKey
@param string $siteName
@return array
Generate a site package and fill it with boilerplate data .