PHPackages                             nickyeoman/nytwig - 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. nickyeoman/nytwig

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

nickyeoman/nytwig
=================

Twig template scaffolding

1.0.10(2y ago)11181CC0-1.0Twig

Since Nov 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nickyeoman/nytwig)[ Packagist](https://packagist.org/packages/nickyeoman/nytwig)[ Docs](https://www.nickyeoman.com)[ RSS](/packages/nickyeoman-nytwig/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (12)Used By (1)

Nix Twig Templates
==================

[](#nix-twig-templates)

This is the scaffolding Nick uses for his web projects.
It is based, but heavly modifed, on html5boilerplate.

- [Github](https://github.com/nickyeoman/nytwig)
- [Packagist](https://packagist.org/packages/nickyeoman/nytwig)

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

[](#installation)

You will have to configure your application to include the vendor directory and asssign the namespace "nytwig" (required)

### How To [Twig](https://twig.symfony.com/doc/2.x/api.html#loaders)

[](#how-to-twig)

```
$loader->addPath('vendor/nickyeoman/nytwig/src', 'nytwig');
```

### How To [Symfony](https://symfony.com/doc/current/templates.html#template-namespaces)

[](#how-to-symfony)

Open the file `config/packages/twig.yaml` and add (under "default\_path"):

```
paths:
    '%kernel.project_dir%/vendor/nickyeoman/nytwig/src': 'nytwig'
```

Use
---

[](#use)

```
{% extends '@nytwig/master.html.twig' %}

{% block body %}
Content Here
{% endblock %}
```

Overrides
---------

[](#overrides)

In your view directly create a folder named 'cms' and create the file you want to override there with the same name.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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 ~52 days

Recently: every ~112 days

Total

11

Last Release

755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/031d3fa3e2adb505d3d88fac435590cc603a2e99a4b856c2fe8c6aa2b08f8db5?d=identicon)[nickyeoman](/maintainers/nickyeoman)

---

Top Contributors

[![nickyeoman](https://avatars.githubusercontent.com/u/630708?v=4)](https://github.com/nickyeoman "nickyeoman (18 commits)")

---

Tags

symfonytwigphpframework

### Embed Badge

![Health badge](/badges/nickyeoman-nytwig/health.svg)

```
[![Health](https://phpackages.com/badges/nickyeoman-nytwig/health.svg)](https://phpackages.com/packages/nickyeoman-nytwig)
```

###  Alternatives

[boekkooi/jquery-validation-bundle

Jquery form validation bundle for symfony 2

2773.9k1](/packages/boekkooi-jquery-validation-bundle)[nurikabe/star-rating-bundle

Symfony form type and Twig extension for quick integration of FyneWorks' Star Rating widget

113.1k](/packages/nurikabe-star-rating-bundle)

PHPackages © 2026

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