PHPackages                             level-level/clarkson-wp-cli-twig-translations - 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. [CLI &amp; Console](/categories/cli)
4. /
5. level-level/clarkson-wp-cli-twig-translations

Abandoned → [timber/wp-i18n-twig](/?search=timber%2Fwp-i18n-twig)ArchivedLibrary[CLI &amp; Console](/categories/cli)

level-level/clarkson-wp-cli-twig-translations
=============================================

Smart WP-CLI command to cache the Twig templates so they can be read by PoEdit

v1.0.6(1y ago)1153.1k1GPL-2.0-onlyPHP

Since Jul 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/level-level/clarkson-wp-cli-twig-translations)[ Packagist](https://packagist.org/packages/level-level/clarkson-wp-cli-twig-translations)[ RSS](/packages/level-level-clarkson-wp-cli-twig-translations/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (6)Versions (14)Used By (0)

Clarkson WP-CLI Twig Translation commando
=========================================

[](#clarkson-wp-cli-twig-translation-commando)

⚠️ Abandoned
------------

[](#️-abandoned)

This package is abandoned due to incompatibility with Twig version 3.12+. You may use `timber/wp-i18n-twig` instead.

### Replacement instructions

[](#replacement-instructions)

1. `composer remove level-level/clarkson-wp-cli-twig-translations`
2. `composer require timber/wp-i18n-twig`
3. If in your composer.json file you have commands set up to run this package, remove every line that starts with `wp clarkson-twig-translations`
4. If in your composer.json file you have commands set up to run the WP-CLI`wp i18n make-pot` command, change the `wp` prefix to `./vendor/wp-cli/wp-cli/bin/wp`
5. `composer update --lock`

What
----

[](#what)

Parses all Twig files in your current themes `templates` directory to `.php` files.

How
---

[](#how)

1. Install package via `composer require level-level/clarkson-wp-cli-twig-translations`.
2. Run `wp clarkson-twig-translations prepare-files` which dumps rendered `.php` files in a `dist` directory in your current active theme.
3. Make sure your PoEdit `.pot` or `.po` file configuration loads this `dist` folder when it updates from source like `"X-Poedit-SearchPath-1: dist/rendered-templates\n"`

Why
---

[](#why)

Free PoEdit doesn't scans Twig files. If you do want PoEdit to do this, buy the Pro version.

Filters
-------

[](#filters)

- `clarkson_twig_translations_cache_path` alters the location where to parse to.
- `clarkson_twig_translations_templates_path` alters the location where the `templates` are located in.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance40

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~103 days

Total

9

Last Release

548d ago

Major Versions

v0.2.0 → v1.0.02020-10-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/f965815b3bbdb7489ec30999837398c0f1d45b6881f2359cf0fb6e77dffaf3b5?d=identicon)[level-level](/maintainers/level-level)

---

Top Contributors

[![jmslbam](https://avatars.githubusercontent.com/u/145887?v=4)](https://github.com/jmslbam "jmslbam (17 commits)")[![NielsdeBlaauw](https://avatars.githubusercontent.com/u/661876?v=4)](https://github.com/NielsdeBlaauw "NielsdeBlaauw (12 commits)")[![menno-ll](https://avatars.githubusercontent.com/u/50165380?v=4)](https://github.com/menno-ll "menno-ll (3 commits)")[![Willemijnr](https://avatars.githubusercontent.com/u/2552186?v=4)](https://github.com/Willemijnr "Willemijnr (3 commits)")[![Mike-Hermans](https://avatars.githubusercontent.com/u/6940163?v=4)](https://github.com/Mike-Hermans "Mike-Hermans (1 commits)")

### Embed Badge

![Health badge](/badges/level-level-clarkson-wp-cli-twig-translations/health.svg)

```
[![Health](https://phpackages.com/badges/level-level-clarkson-wp-cli-twig-translations/health.svg)](https://phpackages.com/packages/level-level-clarkson-wp-cli-twig-translations)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M576](/packages/shopware-core)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)

PHPackages © 2026

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