PHPackages                             cyril-verloop/symfony-twig-templates - 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. [Templating &amp; Views](/categories/templating)
4. /
5. cyril-verloop/symfony-twig-templates

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

cyril-verloop/symfony-twig-templates
====================================

A base Twig template for Symfony.

2.1.1(2y ago)0790MITTwig

Since Feb 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cyrilverloop/symfony-twig-templates)[ Packagist](https://packagist.org/packages/cyril-verloop/symfony-twig-templates)[ GitHub Sponsors](https://github.com/cyrilverloop)[ RSS](/packages/cyril-verloop-symfony-twig-templates/feed)WikiDiscussions trunk Synced yesterday

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

symfony-twig-templates
======================

[](#symfony-twig-templates)

Twig templates for Symfony 7+.

For compatibility with Symfony &lt;7.0, see version &lt;2.0 of this software.

[![License](https://camo.githubusercontent.com/e47d357b0c0d5d3ab24ca4891793da7659fced8e1f645163e9119893ce7e9995/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f637972696c7665726c6f6f702f73796d666f6e792d747769672d74656d706c61746573)](https://github.com/cyrilverloop/symfony-twig-templates/blob/trunk/LICENSE)

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

[](#installation)

### As a Composer depedency

[](#as-a-composer-depedency)

In your project directory run

```
user@host project$ composer require "cyril-verloop/symfony-twig-templates"
```

### For development purposes

[](#for-development-purposes)

```
user@host ~$ cd [PATH_WHERE_TO_PUT_THE_PROJECT] # E.g. ~/projects/
user@host projects$ git clone https://github.com/cyrilverloop/symfony-twig-templates.git
user@host projects$ cd symfony-twig-templates
```

Usage
-----

[](#usage)

The templates just needs to be referenced in the `config/packages/twig.yaml` file :

```
twig:
    paths:
        '%kernel.project_dir%/vendor/cyril-verloop/symfony-twig-templates/templates': CVSymfonyTwigTemplates
```

You can also look at the `config/packages/twig.yaml` file of this project.

Then, you can inherit the templates :

```
{% extends "@CVSymfonyTwigTemplates/base.html.twig" %}
{# or #}
{% extends "@CVSymfonyTwigTemplates/layout.html.twig" %}

{# Your code here #}
```

The documentation of each template can be found in `resources/documentations/` :

- [base](resources/documentations/base.md)
- [layout](resources/documentations/layout.md)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Recently: every ~123 days

Total

8

Last Release

883d ago

Major Versions

1.1.2 → 2.0.02023-12-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/322b031f8ce9fdaf307dc75cc45a33dd2d7ea8e5c75c4e5fc7e5507ccab294f7?d=identicon)[cyrilverloop](/maintainers/cyrilverloop)

---

Top Contributors

[![cyrilverloop](https://avatars.githubusercontent.com/u/37014314?v=4)](https://github.com/cyrilverloop "cyrilverloop (15 commits)")

### Embed Badge

![Health badge](/badges/cyril-verloop-symfony-twig-templates/health.svg)

```
[![Health](https://phpackages.com/badges/cyril-verloop-symfony-twig-templates/health.svg)](https://phpackages.com/packages/cyril-verloop-symfony-twig-templates)
```

###  Alternatives

[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M55](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21814.8M162](/packages/symfony-ux-twig-component)[twig/markdown-extra

A Twig extension for Markdown

12114.3M83](/packages/twig-markdown-extra)[symfony/ux-live-component

Live components for Symfony

1635.6M72](/packages/symfony-ux-live-component)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
