Home

Awesome

PUGXGeneratorBundle sandbox

A sandbox for PUGXGeneratorBundle.

Screenshots

(click for fullscreen images)

list with sorting details list with pagination details list with open filters show edit

Setup

If you find a more elegant solution for last point, feel free to open a Pull Request.

Creating instructions

This project has been created following instructions of PUGXGeneratorBundle.

Details of commands used:

$ php app/console doctrine:generate:entity --no-interaction \
    --entity=GarakSandboxBundle:User \
    --fields="firstName:string(255) lastName:string(255) email:string(255) \
    active:boolean lastLogin:datetime birthday:date"
$ php app/console pugx:generate:crud \
    --entity=GarakSandboxBundle:User \
    --layout=GarakSandboxBundle::layout.html.twig \
    --theme=GarakSandboxBundle:Form:theme.html.twig \
    --with-write --with-filter --with-sort --use-paginator \
    --no-interaction
$ php app/console faker:populate