Use the following command to install DevBrain UI.
composer require devbraincode/devbrain-ui
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/'
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'