Version 9 (modified by Grip Uqam, 5 years ago) (diff)


Etaps to Build a Symfony Website with Doctrine and Sonata admin




Debug Toolbar

(Empty Sonata Admin)

Sensio Generator Bundle

This bundle provides commands for scaffolding bundles, forms, controllers and even CRUD-based backends. The boilerplate code provided by these code generators will save you a large amount of time and work. Official Documentation

  • sensio/generator-bundle
    $ php bin/console generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --dir=../src --no-interaction
    app$ php u018b....php generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --no-interaction

Sensio Framework Extra Bundle

This bundle provides a way to configure your controllers with annotations

The "Symfony Standard Edition" distribution

Doctrine and Data Models

Sonata Admin using the Data Models


Debugging (at all etaps)

  • "cache:clear" if not enough delete the files directly on disk! It is recommended (by me) to do it after version changes.
  • remember to check the "composer.json" file!

Tree Representation

Console, Twig, Debug ToolBar is the starter kit.

  • Sensio Framework Extra Bundle
    • Easy Admin

References: Keywords and searching the Web

Modification Proposals