/SynapseCmfBundle

[READ-ONLY] Subtree split of CmfBundle, provides only Synapse core, if no admin or base content types are required.

Primary LanguagePHPMIT LicenseMIT

SynapseCmfBundle

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 :

Installation

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.

Resources