EasyAdminBundle 0,1,0,1,1,0,7 coveralls travis-ci Packagist phpunit

The new (and simple) admin generator for Symfony applications.

1 year after MIT

EasyAdmin

Tests Code Quality Code Coverage Symfony 2.x and 3.x

EasyAdmin creates administration backends for your Symfony applications with unprecedented simplicity.

Symfony Backends created with EasyAdmin

Features

  • CRUD operations on Doctrine entities (create, edit, list, delete).
  • Full-text search, pagination and column sorting.
  • Fully responsive design (smartphones, tablets and desktops).
  • Supports Symfony 2.x and 3.x.
  • Translated into tens of languages.
  • Fast, simple and smart where appropriate.

Requirements

  • Symfony 2.3+ or 3.x applications (Silex not supported).
  • Doctrine ORM entities (Doctrine ODM and Propel not supported).
  • Entities with composite keys or using inheritance are not supported.

Documentation

Read the EasyAdminBundle documentation at symfony.com.

Demo Application

easy-admin-demo is a complete Symfony application created to showcase EasyAdmin features.

Installation

Step 1: Download the Bundle

$ composer require javiereguiluz/easyadmin-bundle

This command requires you to have Composer installed globally, as explained in the Composer documentation.

Step 2: Enable the Bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new JavierEguiluz\Bundle\EasyAdminBundle\EasyAdminBundle(),
        );
    }

    // ...
}

Step 3: Load the Routes of the Bundle

# app/config/routing.yml
easy_admin_bundle:
    resource: "@EasyAdminBundle/Controller/"
    type:     annotation
    prefix:   /admin

# ...

Step 4: Prepare the Web Assets of the Bundle

# Symfony 2
php app/console assets:install --symlink

# Symfony 3
php bin/console assets:install --symlink

That's it! Now everything is ready to create your first admin backend.

Your First Backend

Creating your first backend will take you less than 30 seconds. Let's suppose that your Symfony application defines three Doctrine ORM entities called Product, Category and User.

Open the app/config/config.yml file and add the following configuration:

# app/config/config.yml
easy_admin:
    entities:
        - AppBundle\Entity\Product
        - AppBundle\Entity\Category
        - AppBundle\Entity\User

Congratulations! You've just created your first fully-featured backend! Browse the /admin URL in your Symfony application and you'll get access to the admin backend:

Default EasyAdmin Backend interface

Keep reading the rest of the documentation to learn how to create complex backends.

License

This software is published under the MIT License

Related Repositories

awesome-symfony

awesome-symfony

A list of awesome Symfony bundles, utilities and resources. ...

easy-admin-demo

easy-admin-demo

A demo application to showcase EasyAdmin features ...

symfony-resources

symfony-resources

Symfony resources, tutorials, articles, bundles and other useful links ...

SymfonyZero

SymfonyZero

SymfonyZero ...

CmsBundle

CmsBundle

Simple CMS bundle for Symfony ...


Top Contributors

javiereguiluz ogizanagi Pierstoval yceruto xabbuh thomasbeaujean forsetius peterkokot javierrodriguezcuevas slmcncb davialexandre anthony-launay maldoinc reypm Yunyun548 unexge ismailbaskin helios-ag gabiudrescu aqnouch mashware hhamon ikerib emmanuelballery COil pborreli rubengc sebastianlp bmanolov dayofr

Dependencies

package version
php >=5.3.0
doctrine/cache ~1.5
doctrine/common ^2.4.0
doctrine/doctrine-bundle ~1.2
doctrine/orm ~2.3
pagerfanta/pagerfanta ~1.0,>=1.0.1
sensio/framework-extra-bundle ~2.3|~3.0,>=3.0.2
symfony/asset ~2.3|~3.0|~4.0
symfony/config ~2.3|~3.0|~4.0
symfony/dependency-injection ~2.3|~3.0|~4.0
symfony/doctrine-bridge ~2.3|~3.0|~4.0
symfony/event-dispatcher ~2.3|~3.0|~4.0
symfony/form ~2.3|~3.0|~4.0
symfony/framework-bundle ~2.3|~3.0|~4.0
symfony/http-foundation ~2.3|~3.0|~4.0
symfony/http-kernel ~2.3|~3.0|~4.0
symfony/polyfill-mbstring ^1.0
symfony/property-access ~2.3|~3.0|~4.0
symfony/security-bundle ~2.3|~3.0|~4.0
symfony/translation ~2.3|~3.0|~4.0
symfony/twig-bridge ^2.3.4|~3.0|~4.0
symfony/twig-bundle ~2.3|~3.0|~4.0
symfony/validator ~2.3|~3.0|~4.0
twig/extensions ~1.0
twig/twig ~1.14,>=1.14.2|~2.0
dev doctrine/doctrine-fixtures-bundle ~2.2
phpunit/phpunit ~4.4
psr/log ~1.0
symfony/browser-kit ~2.3|~3.0
symfony/console ~2.3|~3.0
symfony/css-selector ~2.3|~3.0
symfony/dom-crawler ~2.3|~3.0
symfony/finder ~2.3|~3.0
symfony/phpunit-bridge ^2.7
symfony/var-dumper ~2.3|~3.0
symfony/yaml ~2.3|~3.0

Releases

-   v1.15.1 zip tar
-   v1.15.0 zip tar
-   v1.14.0 zip tar
-   v1.13.1 zip tar
-   v1.13.0 zip tar
-   v1.12.7 zip tar
-   v1.12.6 zip tar
-   v1.12.5 zip tar
-   v1.12.4 zip tar
-   v1.12.3 zip tar
-   v1.12.2 zip tar
-   v1.12.1 zip tar
-   v1.12.0 zip tar
-   v1.11.8 zip tar
-   v1.11.7 zip tar
-   v1.11.6 zip tar
-   v1.11.5 zip tar
-   v1.11.4 zip tar
-   v1.11.3 zip tar
-   v1.11.2 zip tar
-   v1.11.1 zip tar
-   v1.11.0 zip tar
-   v1.10.4 zip tar
-   v1.10.3 zip tar
-   v1.10.2 zip tar
-   v1.10.1 zip tar
-   v1.10.0 zip tar
-   v1.9.8 zip tar
-   v1.9.7 zip tar
-   v1.9.6 zip tar