dev-master
9999999-devThis bundle of symfony2/3
MIT
The Requires
by Adan Felipe Medeiros
v0.1
0.1.0.0This bundle of symfony2/3
MIT
The Requires
by Adan Felipe Medeiros
This bundle of symfony2/3
Este bundle Ć© responsavel por adicionar recurso de biblioteca de midia estilo do wordpress. Este bundle Ć© integrado com LiipImagineBundle, OneupUploaderBundle e o KnpGaufretteBundle., (*1)
Para instalar o bundle basta rodar o seguinte comando abaixo:, (*2)
$ composer require baconmanager/media-library-bundle
Agora adicione os seguintes bundles no arquivo AppKernel.php:, (*3)
<?php // app/AppKernel.php public function registerBundles() { // ... new Oneup\UploaderBundle\OneupUploaderBundle(), new Bacon\Bundle\MediaLibraryBundle\BaconMediaLibraryBundle(), new Knp\Bundle\GaufretteBundle\KnpGaufretteBundle(), new FOS\JsRoutingBundle\FOSJsRoutingBundle(), new Liip\ImagineBundle\LiipImagineBundle(), // ... }
HĆ” 2 opƧƵes de configuraĆ§Ć£o ou vocĆŖ importa o arquivo de configuraĆ§Ć£o do bundle ou adiciona as configuraƧƵes no arquivo app/config/config.yml., (*4)
- { resource: "@BaconMediaLibraryBundle/Resources/config/config.yml"}
Adicionar as seguintes linhas no arquivo app/config/routing.yml services:, (*5)
bacon_media_library: resource: "@BaconMediaLibraryBundle/Controller/" type: annotation prefix: /
Configurar os demais bundles conforme sua documentaĆ§Ć£o, (*6)
This bundle of symfony2/3
MIT
This bundle of symfony2/3
MIT