Skip to content

Instantly share code, notes, and snippets.

@covex-nn
Created April 24, 2018 11:46
Show Gist options
  • Save covex-nn/a001b92c4f5911076934585704eef1fc to your computer and use it in GitHub Desktop.
Save covex-nn/a001b92c4f5911076934585704eef1fc to your computer and use it in GitHub Desktop.
Composer.json for SymfonyCMF 2.1 with default confuration
{
"type": "project",
"license": "proprietary",
"require": {
"php": "^7.1.3",
"ext-iconv": "*",
"doctrine/phpcr-bundle": "2.0.x-dev",
"symfony-cmf/block-bundle": "dev-updates as 2.1.0.5",
"symfony-cmf/content-bundle": "dev-updates as 2.1.0.5",
"symfony-cmf/core-bundle": "dev-updates as 2.1.0.5",
"symfony-cmf/menu-bundle": "dev-updates as 2.2.0.5",
"symfony-cmf/routing": "2.1.x-dev",
"symfony-cmf/routing-bundle": "2.1.x-dev",
"symfony/console": "^4.0",
"symfony/flex": "^1.0",
"symfony/framework-bundle": "^4.0",
"symfony/lts": "^4@dev",
"symfony/yaml": "^4.0"
},
"require-dev": {
"symfony/dotenv": "^4.0"
},
"repositories": [
{"type": "vcs", "url": "https://github.com/covex-nn/block-bundle"},
{"type": "vcs", "url": "https://github.com/covex-nn/content-bundle"},
{"type": "vcs", "url": "https://github.com/covex-nn/core-bundle"},
{"type": "vcs", "url": "https://github.com/covex-nn/menu-bundle"}
],
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": true
}
}
}
cmf_routing:
dynamic:
persistence:
phpcr:
enabled: true
cmf_block:
persistence:
phpcr:
enabled: true
cmf_content:
persistence:
phpcr:
enabled: true
cmf_core:
persistence:
phpcr:
enabled: true
cmf_menu:
persistence:
phpcr:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment