Skip to content

Instantly share code, notes, and snippets.

@pilot
Created March 30, 2012 14:10
Show Gist options
  • Save pilot/2251778 to your computer and use it in GitHub Desktop.
Save pilot/2251778 to your computer and use it in GitHub Desktop.
Generate composer.json
{
"name": "bundle/mybundle",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.1.*",
"doctrine/orm": "2.2.*",
"doctrine/doctrine-bundle": "*",
"twig/extensions": "*",
"symfony/assetic-bundle": "*",
"symfony/swiftmailer-bundle": "*",
"symfony/monolog-bundle": "*",
"sensio/distribution-bundle": "*",
"sensio/generator-bundle": "*",
"jms/security-extra-bundle": "*",
"jms/debugging-bundle": "*",
"knp/JohnFooBundle": "*",
"knp/JackFooBundle": "*",
"behat/behat-bundle": "*"
},
"repositories": [
],
"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "symlink"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment