PHPackages                             serega3000/twig-grid - 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. serega3000/twig-grid

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

serega3000/twig-grid
====================

Twig extension for bootstrap grid layout

1.2(10y ago)0201MITPHP

Since Apr 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/serega3000/twig-grid)[ Packagist](https://packagist.org/packages/serega3000/twig-grid)[ Docs](https://github.com/serega3000/twig-grid)[ RSS](/packages/serega3000-twig-grid/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

\#Twig extension for bootstrap grid layout

To write this code

```

        some content here ...

        some content here ...

```

In twig template you can write

```
{% row %}
    {% col "lg4 md8 sm6" %}
        some content here ...
    {% endcol %}
    {% col "lg4 md8 sm6" %}
        some content here ...
    {% endcol %}
{% endrow %}

```

class definition in {% col %} tag like "lg4 md8 sm6 xs8" will be automatically converted to "col col-lg-4 col-md-8 col-sm-6 col-sx-8"

You also can add your own CSS class to column, for example, "lg4 md8 sm6 my-class" will be automatically converted to "col col-lg-4 col-md-8 col-sm-6 my-class"

\##Installing

Require in composer

```
composer require serega3000/twig-grid:^1.2

```

Register as twig extension:

```
$twig = new Twig_Environment($loader);
$twig->addExtension('', new \Serega3000\TwigGrid\Extension());

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

3742d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5586240?v=4)[Sergey S.](/maintainers/serega3000)[@serega3000](https://github.com/serega3000)

### Embed Badge

![Health badge](/badges/serega3000-twig-grid/health.svg)

```
[![Health](https://phpackages.com/badges/serega3000-twig-grid/health.svg)](https://phpackages.com/packages/serega3000-twig-grid)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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