- Since the bundle is not on packagist yet, you have to add the repository manually to your
composer.jsonfile:
"repositories": [
{ "type": "composer", "url": "https://updates.ez.no/ttl" },
{ "type": "vcs", "url": "https://github.com/kmadejski/csm-poc.git" }
],- Install the bundle:
composer require kmadejski/csm-poc:dev-master- Enable the bundle in your
app/AppKernel.phpfile:
$bundles = [
...
new EzSystems\CSMBundle\EzSystemsCSMBundle(),
];- Define your
verseContentType identifier by configuring the following parameter in yourparameters.ymlfile:
csm_poc.verse.content_type_identifier- Add the following entry to your
app/config/routing.ymlfile:
csm_poc:
resource: "@EzSystemsCSMBundle/Resources/config/routing.yml"- Optional: Run the migration to get the test data (requires EzMigrationBundle (https://github.com/kaliop-uk/ezmigrationbundle):
php bin/console kaliop:migration:migrate --path vendor/kmadejski/csm-poc/src/bundle/MigrationVersions