# Twig CS Fixer 4.0

A new major version of Twig CS Fixer, a tool that fixes the code style of Twig templates.

It splits the operator spacing rule, makes the delimiter spacing rule configurable and prepares support for Twig 4.

- Made by: [Vincent Langlet](https://github.com/VincentLanglet)
- Shipped: 15/06/2026
- Date from: [release](https://github.com/VincentLanglet/Twig-CS-Fixer/releases/tag/4.0.0)
- Source: [github.com/VincentLanglet/Twig-CS-Fixer](https://github.com/VincentLanglet/Twig-CS-Fixer)
- Install: `composer require vincentlanglet/twig-cs-fixer`
- Licence: MIT
- Stack: plain PHP
- Topics: Developer tools
- Checked: 28/10/2026
- Added: 28/10/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/twig-cs-fixer-4-0/)
```

See more at [phplives.dev](https://phplives.dev)
