Skip to content

garak/PUGXGeneratorBundleSandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Clone this repo
  • run composer install
  • run app/console doctrine:database:create
  • run app/console doctrine:schema:update --force
  • run app/console doctrine:fixtures:load --no-interaction
  • Edit vendor/components/font-awesome/less/variables.less to point @fa-font-path to /fonts (instead of ../fonts).

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

About

A sandbox for PUGXGeneratorBundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published