PHPackages                             wizaplace/twig-object-dump - 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. wizaplace/twig-object-dump

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

wizaplace/twig-object-dump
==========================

Simple Twig extension improving templates debugging

v1.0.0(9y ago)844.2k1MITPHPPHP ^7.0

Since Feb 24Pushed 9y ago20 watchersCompare

[ Source](https://github.com/wizaplace/twig-object-dump)[ Packagist](https://packagist.org/packages/wizaplace/twig-object-dump)[ RSS](/packages/wizaplace-twig-object-dump/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

**Twig object dumper** is a simple Twig extension improving templates debugging : it helps front-end developers to interact the right way with back-end objects.

Usage
-----

[](#usage)

With this code :

```
class Product
{
    private $stockQuantity;

    public function isInStock() : bool
    {
        return $this->stockQuantity > 0;
    }
}
```

Standard Twig `dump` function displays :

```
Product {#762 ▼
  -stockQuantity: 3
}

```

Which is not a good information : `stockQuantity` is private and not usable.

Whereas the new `d` function displays the right way to access object's properties :

```
WizaTech\Product
    isInStock() : bool

```

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

[](#installation)

```
$ composer require wizaplace/twig-object-dump

```

Don't forget to load the new bundle in the `app/AppKernel.php` :

```
$bundles = [
    // ...
    new Wizaplace\TwigObjectDumpBundle\TwigObjectDumpBundle(),
];
```

This extension checks the twig environment and do nothing if it's set to *debug*.

Installation for dev
--------------------

[](#installation-for-dev)

You can use Vagrant to setup a 'ready for dev' environment :

```
$ cp Vagrantfile.dist Vagrantfile
$ vagrant up
$ vagrant ssh

```

Load dependencies with Composer :

```
$ composer install

```

Coding Style
------------

[](#coding-style)

To ensure that you use the right coding standard, use `coke` :

```
$ vendor/bin/coke

```

Credits
-------

[](#credits)

Developed by [Wizaplace](http://tech.wizaplace.com/).

License
-------

[](#license)

This project is licensed under the [MIT license](LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

3413d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41571181?v=4)[Cédric Bertolini](/maintainers/wizacedric)[@wizacedric](https://github.com/wizacedric)

---

Top Contributors

[![KuiKui](https://avatars.githubusercontent.com/u/748924?v=4)](https://github.com/KuiKui "KuiKui (8 commits)")[![vdechenaux](https://avatars.githubusercontent.com/u/1501825?v=4)](https://github.com/vdechenaux "vdechenaux (5 commits)")

---

Tags

twigdebugdumpobject

### Embed Badge

![Health badge](/badges/wizaplace-twig-object-dump/health.svg)

```
[![Health](https://phpackages.com/badges/wizaplace-twig-object-dump/health.svg)](https://phpackages.com/packages/wizaplace-twig-object-dump)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k156.8M1.2k](/packages/symfony-web-profiler-bundle)[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91397.6M425](/packages/twig-extra-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

566.8M117](/packages/symfony-ux-icons)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M464](/packages/pimcore-pimcore)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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