Synapse Cmf distribution which provides :
- base Cmf kernel classes (through SynapseCmfBundle requirement)
- internal features admin (through SynapseAdminBundle requirement)
- page content type
- page admin
- default page front controller
If you need a full featured Synapse Cmf, consider to use SynapseDemoBundle to get a simple Boostrap theme for page content type, or directly main distribution.
Register bundle version (standard semver is used) :
// composer.json
{
"require": {
// ....
"synapse-cmf/synapse-page-bundle": "~1.0"
}
}
Then, register the bundle, be careful to also register all dependencies :
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Majora\Bundle\FrameworkExtraBundle\MajoraFrameworkExtraBundle($this),
new Synapse\Cmf\Bundle\SynapseCmfBundle(),
new Synapse\Admin\Bundle\SynapseAdminBundle(),
new Synapse\Page\Bundle\SynapsePageBundle(),
);
}
For complete configuration reference, please refer to main repository documentation.
- Synapse Cmf documentation
- Contributing
- Report issues and send Pull Requests in the main Synapse-Cmf repository