devbraincode/devbrain-ui

UI Bundle for Symfony


README

Install

Use the following command to install DevBrain UI.

composer require devbraincode/devbrain-ui

Configure

Add some configuration to your config/packages/twig_component.yaml file to allow Symfony to recognize DevBrain components.

twig_component:
    defaults:
        Devbrain\Ui\Twig\Components\: '@DevbrainUi/'

Documentation

Make the DevBrain documentation readable from your project (in "dev" environment only). Add this code to your config/routes.yaml and consult /dev-brain-ui

_devbrain_ui:
    resource: '@DevbrainUiBundle/Resources/config/routes.yaml'