bleuebuzz/integration-bundle

Symfony2 集成框架

安装: 93

依赖者: 1

建议者: 0

安全: 0

类型:symfony-bundle

dev-master 2014-01-15 13:25 UTC

This package is auto-updated.

Last update: 2024-09-09 02:10:10 UTC


README

在 Symfony 项目中配置该包

* ajouter au composer.json
    "require": {
        ....
        "bleuebuzz/integration-bundle": "dev-master",
        ....
    }

* lancer la cmd "php composer.phar update"

* ajouter au fichier app/AppKernel.php
    new Bleuebuzz\IntegrationBundle\BleuebuzzIntegrationBundle()

* pour avoir accès au portfolio (/portfolio), ajouter au fichier app/config/config.yml
    bleuebuzz_integration:
      portfolio: true

* pour étendre le layout du bundle
    {% extends "BleuebuzzIntegrationBundle::layout.html.twig" %}

* pour étendre le form layout du bundle, ajouter au fichier app/config/config.yml
    twig:
      form:
        resources:
            - 'BleuebuzzIntegrationBundle:Form:form_div_layout.html.twig'