Symfony :: Skeleton für IndexController erstellen

NetBull

Erfahrenes Mitglied
Hi,

nachdem ich mich in ZEND 2 eingearbeitet habe, möchte ich mir in allen Frameworks ein Grundwissen aneignen. Ich hänge nun bei Symfony. Die folgende Composer Datei erstellt mir ein Skeleton, aber irgendwie keinen "index controller". Was hab ich vergessen?

Code:
{
    "name" : "symfony/framework-standard-edition",
    "license" : "MIT",
    "type" : "project",
    "description" : "The \"Symfony Standard Edition\" distribution",
    "autoload" : {
        "psr-0" : {
            "" : "src/",
            "SymfonyStandard" : "app/"
        }
    },
    "require" : {
        "php" : ">=5.3.3",
        "symfony/symfony" : "2.6.*",
        "doctrine/orm" : "~2.2,>=2.2.3,<2.5",
        "doctrine/dbal" : "<2.5",
        "doctrine/doctrine-bundle" : "~1.2",
        "twig/extensions" : "~1.0",
        "symfony/assetic-bundle" : "~2.3",
        "symfony/swiftmailer-bundle" : "~2.3",
        "symfony/monolog-bundle" : "~2.4",
        "sensio/distribution-bundle" : "~3.0,>=3.0.12",
        "sensio/framework-extra-bundle" : "~3.0,>=3.0.2",
        "incenteev/composer-parameter-handler" : "~2.0"
    },
    "require-dev" : {
        "sensio/generator-bundle" : "~2.3"
    },
    "scripts" : {
        "post-install-cmd" : [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ],
        "post-update-cmd" : [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ]
    },
    "config" : {
        "bin-dir" : "bin"
    },
    "extra" : {
        "symfony-app-dir" : "app",
        "symfony-web-dir" : "web",
        "symfony-assets-install" : "relative",
        "incenteev-parameters" : {
            "file" : "app/config/parameters.yml"
        },
        "branch-alias" : {
            "dev-master" : "2.6-dev"
        }
    }
}

LG NetBu||
 
Zurück