PHPackages                             evoluted/twigtools-plugin - 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. evoluted/twigtools-plugin

ActiveStreams-addon[Templating &amp; Views](/categories/templating)

evoluted/twigtools-plugin
=========================

Useful development debugging tools for Twig on PyroCMS 3.x

1.0.0(7y ago)02.1kMITPHP

Since Jul 20Pushed 7y ago5 watchersCompare

[ Source](https://github.com/EvolutedNewMedia/twigtools-plugin)[ Packagist](https://packagist.org/packages/evoluted/twigtools-plugin)[ RSS](/packages/evoluted-twigtools-plugin/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

TwigTools
=========

[](#twigtools)

Twigtools is a PyroCMS plugin, providing useful tools for development and debugging with twig.

Initially this provides the following functions inside twig templates:

- `dd` Dumps an item and kills the rest of the page.
- `debug` Dumps an item and continues execution
- `debug` Debugs an item to [Debugbar](https://github.com/barryvdh/laravel-debugbar) under the Messages tab

### Installing

[](#installing)

You can install this plugin into your existing PyroCMS 3.x installation by requiring it inside your composer file:

```
"require-dev": {
    "evoluted/twigtools-plugin": "~1.0",`
}

```

Or by running the command line composer install command:

`composer require evoluted/twigtools-plugin`

Once installed you will not have to perform any additional actions to start using this plugin.

### Usage

[](#usage)

#### dd

[](#dd)

`dd(yourVariable)`

Uses [Laravels dump method](https://laravel.com/docs/5.6/helpers#method-dump), and stops execution.

#### dump

[](#dump)

`dump(yourVariable)`

Uses [Laravels dump method](https://laravel.com/docs/5.6/helpers#method-dump), but continues rendering the rest of the page.

#### debug

[](#debug)

`debug(yourVariable)`

Debugs a variable to [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) (if it is installed)

Future Ideas
------------

[](#future-ideas)

- Manipulation of objects and arrays (E.g resorting, inserting within arrays, etc)
- Debug to log files from within twig

Release History
---------------

[](#release-history)

- 1.0.0
    - Initial release, containing `dd()`, `debug()`, `debug()`

Contributing
------------

[](#contributing)

1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

2856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/249d852b103b90c391be045688903bad7da259b49f235695e629c70ff9706b3b?d=identicon)[evoluted](/maintainers/evoluted)

---

Top Contributors

[![evoluted](https://avatars.githubusercontent.com/u/10880770?v=4)](https://github.com/evoluted "evoluted (1 commits)")[![rickmills](https://avatars.githubusercontent.com/u/103707?v=4)](https://github.com/rickmills "rickmills (1 commits)")

---

Tags

laravellaravel-debugbarpyrocmspyrocms-pluginstwigtwigpyrocmsLaravel CMSPHP CMSpyro

### Embed Badge

![Health badge](/badges/evoluted-twigtools-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/evoluted-twigtools-plugin/health.svg)](https://phpackages.com/packages/evoluted-twigtools-plugin)
```

###  Alternatives

[pyrocms/pyrocms

Build better Laravel websites and applications faster with Pyro.

3.2k68.8k](/packages/pyrocms-pyrocms)[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M221](/packages/twig-intl-extra)[twig/string-extra

A Twig extension for Symfony String

21946.0M133](/packages/twig-string-extra)[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)

PHPackages © 2026

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