PHPackages                             lucathiel/timber-integration-woocommerce - 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. lucathiel/timber-integration-woocommerce

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

lucathiel/timber-integration-woocommerce
========================================

WooCommerce integration for Timber.

0.6.0(5y ago)02.7kMITPHPPHP 7.\*

Since Dec 8Pushed 3y agoCompare

[ Source](https://github.com/Lucathiel/timber-integration-woocommerce)[ Packagist](https://packagist.org/packages/lucathiel/timber-integration-woocommerce)[ RSS](/packages/lucathiel-timber-integration-woocommerce/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (13)Used By (0)

Timber Integration for WooCommerce
==================================

[](#timber-integration-for-woocommerce)

This integration tries to make it easier to develop Timber themes for WooCommerce.

Here’s a short list of features it adds and problems it tries to solve:

- [Automatic handling of the `$product` global](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/usage.md#product-global). Whenever you loop through a list of WooCommerce products, the integration will set the `$product` global for you. This will improve compatibility for WooCommerce and its integrations.
- [Enhance Timber’s context](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/usage.md#woocommerce-context).
- [Automatic Twig partial selection](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/usage.md#automatic-twig-partial-selection).
- Provide default templates, tips and examples.

Why would I need this?
----------------------

[](#why-would-i-need-this)

This integrations makes sense if you need to develop a highly customized WooCommerce theme in a Timber context. If you try to stick to WooCommerce’s default as much as possible, you might not need this.

Documentation
-------------

[](#documentation)

- [Installation](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/installation.md)
- [Getting Started](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/getting-started.md)
- [Usage Guide](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/usage.md)
- [Images](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/images.md)
- [Examples](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/examples.md)
- [Mini Cart](https://github.com/MINDKomm/timber-integration-woocommerce/blob/master/docs/mini-cart.md)

Roadmap
-------

[](#roadmap)

Here are a couple features that are not yet integrated, but would be good contribution opportunities:

- Add support for tag templates.
- Add support for WooCommerce galleries. Maybe only documentation is needed?

Todo
----

[](#todo)

- Add testing.
- Write a simple function to wrap a WooCommerce template.
- Add filter to filter current menu item classes for shop page.
- Hint about adding WooCommerce support to the theme ().
- Check compatibility with
- Documentation: Add hint about using `woocommerce_before_template_part` and `woocommerce_after_template_part` to wrap a template.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 90.2% 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 ~133 days

Recently: every ~92 days

Total

11

Last Release

1742d ago

### Community

Maintainers

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

---

Top Contributors

[![gchtr](https://avatars.githubusercontent.com/u/2084481?v=4)](https://github.com/gchtr "gchtr (111 commits)")[![Lucathiel](https://avatars.githubusercontent.com/u/14161634?v=4)](https://github.com/Lucathiel "Lucathiel (7 commits)")[![ndkzh](https://avatars.githubusercontent.com/u/14105698?v=4)](https://github.com/ndkzh "ndkzh (4 commits)")[![VincentLoy](https://avatars.githubusercontent.com/u/7996741?v=4)](https://github.com/VincentLoy "VincentLoy (1 commits)")

---

Tags

twigintegrationwoocommercetimber

### Embed Badge

![Health badge](/badges/lucathiel-timber-integration-woocommerce/health.svg)

```
[![Health](https://phpackages.com/badges/lucathiel-timber-integration-woocommerce/health.svg)](https://phpackages.com/packages/lucathiel-timber-integration-woocommerce)
```

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.4M111](/packages/timber-timber)[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[mindkomm/timber-integration-woocommerce

WooCommerce integration for Timber.

11617.6k1](/packages/mindkomm-timber-integration-woocommerce)[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)

PHPackages © 2026

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