Skip to content
This repository was archived by the owner on May 28, 2020. It is now read-only.

Repository files navigation

TwigFormatterBundle

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage

This bundle provides a twig formatter for the Sonata FormatterBundle.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require core23/twig-formatter-bundle

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Core23\TwigFormatterBundle\Core23TwigFormatterBundle::class => ['all' => true],
];

To use the new formatter, register the formatter in config/packages/sonata_formatter.yaml file of your project:

sonata_formatter:
    formatters:
        twig:
            service: core23_twig_formatter.formatter

About

📑 This bundle provides a twig formatter for the Sonata FormatterBundle.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages