2017 © Pedro PelĆ”ez
 

symfony-bundle core-bundle

This bundle of symfony2

image

baconmanager/core-bundle

This bundle of symfony2

  • Tuesday, February 21, 2017
  • by adanfm
  • Repository
  • 3 Watchers
  • 0 Stars
  • 848 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 7 Versions
  • 11 % Grown

The README.md

BaconCoreBundle

Codacy Badge Latest Stable Version License SensioLabsInsight, (*1)

Este bundle Ʃ responsavel por adicionar classes para abstrair algumas funƧƵes do Symfony tais como uma entidade Base com behaviors para criar campos padrƵes de created/updated e Soft-Deleted, FormHandler base para salvar, atualizar e deletar registros do banco de dados utilizando o ORM Doctrine2, (*2)

InstalaĆ§Ć£o

Para instalar o bundle basta rodar o seguinte comando abaixo:, (*3)

$ composer require bacon/core-bundle

Agora adicione os seguintes bundles no arquivo AppKernel.php:, (*4)

<?php
// app/AppKernel.php
public function registerBundles()
{
    // ...
    new Bacon\Bundle\CoreBundle\BaconCoreBundle(),
    new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
    // ...
}

No arquivo app/config/config.yml adicione as seguintes configuraƧƵes:, (*5)

doctrine:
    ---
    orm:
        filters:
            softdeleteable:
                class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter
                enabled: true

Adicionar as seguintes linhas no arquivo app/config/services.yml services:, (*6)

services:
    gedmo.listener.softdeleteable:
        class: Gedmo\SoftDeleteable\SoftDeleteableListener
        tags:
            - { name: doctrine.event_subscriber, connection: default }
        calls:
            - [ setAnnotationReader, [ @annotation_reader ] ]

    gedmo.listener.timestampable:
        class: Gedmo\Timestampable\TimestampableListener
        tags:
            - { name: doctrine.event_subscriber, connection: default }
        calls:
            - [ setAnnotationReader, [ "@annotation_reader" ] ]

Para configurar o pacote KnpPaginatorBundle basta olhar na configuraĆ§Ć£o do bundle no acessando o este Link!, (*7)

InformaƧƵes adicionais

The Versions

21/02 2017

dev-master

9999999-dev

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

21/02 2017

1.1.4

1.1.4.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

12/09 2016

1.1.3

1.1.3.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

23/05 2016

1.1.2

1.1.2.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

20/05 2016

1.1.1

1.1.1.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

13/05 2016

1.1

1.1.0.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core

31/01 2016

1.0

1.0.0.0

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros
by Jonas Vieira Pereira
by Mateus Guerra

core