PHPackages                             daspete/patternlab-twig-laravel - 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. daspete/patternlab-twig-laravel

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

daspete/patternlab-twig-laravel
===============================

Adds patternlab behaviour to laravel

v0.1.4(9y ago)0991[3 issues](https://github.com/daspete/patternlab-twig-laravel/issues)MITPHP

Since Jun 1Pushed 9y ago2 watchersCompare

[ Source](https://github.com/daspete/patternlab-twig-laravel)[ Packagist](https://packagist.org/packages/daspete/patternlab-twig-laravel)[ RSS](/packages/daspete-patternlab-twig-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Requirements
============

[](#requirements)

Laravel &gt;= 5

TwigBridge &gt;= 0.7

Installation
============

[](#installation)

```
composer require daspete/patternlab-twig-laravel
```

Quickstart
==========

[](#quickstart)

Once you have installed the package, you need to register it and its dependencies in your app config -&gt; /config/app.php

add following lines to your 'providers' array:

```
'providers' => [
    ...
    TwigBridge\ServiceProvider::class,
    Daspete\Laravel\ServiceProvider::class,
]
```

and add the TwigBridge Facade to your 'aliases' array:

```
'aliases' => [
    ....
    'Twig' => TwigBridge\Facade\Twig::class,
]
```

after that, you need to publish the configs of this package and of the TwigBridge package:

```
    php artisan vendor:publish --provider="TwigBridge\ServiceProvider"
    php artisan vendor:publish --provider="Daspete\Laravel\ServiceProvider"
```

and edit the new config in /config/twigbridge.php, insert the patternlab extension into the 'extension' array:

```
'extensions' => [
    ...
    'enabled' => [
        ...
        'Daspete\Laravel\Patternlab',
    ],
]
```

Resource pack
=============

[](#resource-pack)

to get everything working, you'll need some files and directories in the right place.

Download the [Resource Pack](https://github.com/daspete/patternlab-twig-laravel-resources/archive/master.zip) and unzip the contents into the /resources/ folder.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

3626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b179db57544f99178492f253c516731ce8d03827360bb7dd00fe40fef7faf8bf?d=identicon)[daspete](/maintainers/daspete)

---

Top Contributors

[![daspete](https://avatars.githubusercontent.com/u/3796340?v=4)](https://github.com/daspete "daspete (13 commits)")

### Embed Badge

![Health badge](/badges/daspete-patternlab-twig-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/daspete-patternlab-twig-laravel/health.svg)](https://phpackages.com/packages/daspete-patternlab-twig-laravel)
```

###  Alternatives

[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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