tobur/sonata-generator

There is no license information available for the latest version (v0.4) of this package.

Installs: 1 539

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v0.4 2018-10-17 09:10 UTC

This package is not auto-updated.

Last update: 2024-09-15 05:39:20 UTC


README

SETUP

Run

composer require tobur/sonata-generator

Create monolog chanel:

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

Add to config:

sonata_generator:
  path_to_admin_yaml: config/packages/admin.yaml

HOW TO USE

Generate admin for entity "Example"

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

Generate admin for all entities in interactive mode

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