PHPackages                             wotnak/twig-cs-fixer-drupal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wotnak/twig-cs-fixer-drupal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wotnak/twig-cs-fixer-drupal
===========================

Drupal specific rules for Twig CS Fixer.

2.0.0(1y ago)033.0k↓13%2[2 issues](https://github.com/wotnak/twig-cs-fixer-drupal/issues)[1 PRs](https://github.com/wotnak/twig-cs-fixer-drupal/pulls)1MITPHPPHP &gt;=8.3

Since May 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wotnak/twig-cs-fixer-drupal)[ Packagist](https://packagist.org/packages/wotnak/twig-cs-fixer-drupal)[ RSS](/packages/wotnak-twig-cs-fixer-drupal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

Twig CS Fixer Drupal
====================

[](#twig-cs-fixer-drupal)

[Drupal](https://www.drupal.org/) specific config for [Twig CS Fixer](https://github.com/VincentLanglet/Twig-CS-Fixer).

Installation
------------

[](#installation)

- [Install Twig CS Fixer](https://github.com/VincentLanglet/Twig-CS-Fixer?tab=readme-ov-file#installation)
- `composer req --dev wotnak/twig-cs-fixer-drupal`
- In your Twig CS Fixer [configuration file](https://github.com/VincentLanglet/Twig-CS-Fixer/blob/main/docs/configuration.md) enable predefined Drupal specific config:

    ```
