2017 © Pedro Peláez
 

symfony-bundle sonata-generator

image

tobur/sonata-generator

  • Thursday, March 1, 2018
  • by Tobur
  • Repository
  • 1 Watchers
  • 0 Stars
  • 96 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 45 % Grown

The README.md

SETUP, (*1)

Run, (*2)

composer require tobur/sonata-generator

Create monolog chanel:, (*3)

console:
    type:   console
    process_psr_3_messages: false
    level: debug
    channels: ["!event", "!doctrine", "!console"]

Add to config:, (*4)

sonata_generator:
  path_to_admin_yaml: config/packages/admin.yaml

HOW TO USE, (*5)

Generate admin for entity "Example", (*6)

php bin/console generate:sonata-admin 'App\Entity\Example' 'App\Admin'

Generate admin for all entities in interactive mode, (*7)

php bin/console generate:sonata-admin 'App\Entity\' 'App\Admin' 1

The Versions