zenside / core-bundle
Bundle with pre-configured full-stack modules (sonata,fos,rest)
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/dbal: 2.5.1
- doctrine/doctrine-bundle: 1.3.*
- doctrine/doctrine-fixtures-bundle: 2.2.*
- doctrine/orm: 2.4.*
- friendsofsymfony/jsrouting-bundle: 1.x-dev
- friendsofsymfony/rest-bundle: ~1.5
- friendsofsymfony/user-bundle: v1.3.6
- gedmo/doctrine-extensions: v2.3.9
- incenteev/composer-parameter-handler: ~2.0
- jms/serializer-bundle: 0.13.*
- nervo/yuicompressor: 2.4.8
- sensio/distribution-bundle: 2.3.*
- sensio/framework-extra-bundle: 2.3.*
- sensio/generator-bundle: ~2.3
- sonata-project/admin-bundle: ~2.4@dev
- sonata-project/doctrine-orm-admin-bundle: ~2.4@dev
- sonata-project/user-bundle: ~2.3@dev
- stnw/date-picker-bundle: dev-master
- symfony/assetic-bundle: 2.3.*
- symfony/monolog-bundle: 2.3.*
- symfony/swiftmailer-bundle: 2.3.*
- symfony/symfony: ~2.6
- twig/extensions: 1.0.*
This package is not auto-updated.
Last update: 2025-03-29 20:08:43 UTC
README
A pre-configured Symfony2 bundle to start project with usefull bundles pre-configured.
- Sonata admin
- FOS Rest
- FOS User
Installation with composer
require "zenside/core-bundle": "dev-master"
Carefull, the minimum stability version is "dev", so be aware to define it in the composer.json of your project :
"minimum-stability": "dev",
Symfony 2 configuration
In AppKernel.php, add the following bundles :
// symfony
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
// doctrine
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
// user
new FOS\UserBundle\FOSUserBundle(),
new Sonata\UserBundle\SonataUserBundle('FOSUserBundle'),
// admin
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Sonata\CoreBundle\SonataCoreBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
new Sonata\EasyExtendsBundle\SonataEasyExtendsBundle(),
new Stnw\DatePickerBundle\StnwDatePickerBundle(),
// rest
new JMS\SerializerBundle\JMSSerializerBundle($this),
new FOS\RestBundle\FOSRestBundle(),
// js routing
new FOS\JsRoutingBundle\FOSJsRoutingBundle(),
new ZenSide\CoreBundle\ZenSideCoreBundle(),
In your config.yml, reference config of CoreBundle
imports:
- { resource: @ZenSideCoreBundle/Resources/config/config.yml }
In your routing.yml, reference routing of CoreBundle
core_routing:
resource: "@ZenSideCoreBundle/Resources/config/routing.yml"
Fresh new Symfony2 project
To start a new project using CoreBundle pre-configuration, check the ZenSide/SymfonyStarter project