Base distribution of Synapse Cmf, provides only :
- all base classes
- rendering engine
- built-in components (text, menu, gallery, static, free)
If you need more Synapse features, consider to use these distributions :
- SynapseAdminBundle to get admin web pages and forms
- SynapsePageBundle to get "page" content type implementation
- SynapseDemoBundle to get a simple Boostrap theme for "page" content type
Register bundle version (standard semver is used) :
// composer.json
{
"require": {
// ....
"synapse-cmf/synapse-cmf-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(),
);
}
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