Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.54 KB

index.md

File metadata and controls

56 lines (41 loc) · 1.54 KB

prezent/crud-bundle

This bundle provides you with an easy way to create CRUD screens in your application. It is based on several other bundles:

Index

  1. Installation (see below)
  2. Getting started
  3. CRUD configuration
  4. Extending the base controller
  5. Templating
  6. Translations
  7. Delete modals
  8. Events

Installation

This bundle can be installed using Composer. Tell composer to install the bundle:

$ php composer.phar require prezent/crud-bundle

Then, activate the bundle and its dependencies in your kernel:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // Assuming a Symfony standard edition, just add these bundles
        new BabDev\PagerfantaBundle\BabDevPagerfantaBundle(),
        new Prezent\GridBundle\PrezentGridBundle(),
        new Prezent\CrudBundle\PrezentCrudBundle(),
    );
}

Configuration

This bundle does not need to be configured, but you can optionally configure the PagerfantaBundle and the GridBundle. See their respective documentation sections.