PHPackages                             paneon/php-vue-to-twig - 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. paneon/php-vue-to-twig

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

paneon/php-vue-to-twig
======================

0.32.2(4y ago)1717.1k4[1 issues](https://github.com/Paneon/php-vue-to-twig/issues)MITPHPPHP ^7.3|^8.0CI failing

Since Nov 25Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Paneon/php-vue-to-twig)[ Packagist](https://packagist.org/packages/paneon/php-vue-to-twig)[ RSS](/packages/paneon-php-vue-to-twig/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (79)Used By (0)

php-vue-to-twig
===============

[](#php-vue-to-twig)

[![CI](https://github.com/Paneon/php-vue-to-twig/workflows/PHP%20Composer/badge.svg)](https://github.com/Paneon/php-vue-to-twig/workflows/PHP%20Composer/badge.svg)

Compile vue files to twig templates with PHP

Directives
----------

[](#directives)

DirectiveImplementedv-text✅v-html✅v-show✅v-if✅v-else✅v-else-if✅v-for✅v-on✅v-bindpartially workingv-bind:style✅v-bind:class✅v-modelpartially workingv-pre✅v-cloak✅v-once✅Other Functionalities
---------------------

[](#other-functionalities)

FunctionalityImplementedSlotspartially workingComponents✅FiltersLimitations
-----------

[](#limitations)

It's difficult to interpret JavaScript language features and translate them into twig.

For example, string concatenation within attribute binding is not currently working properly: 🚫

This example works:

```

export default {
  props: {
    size: {
      type: number,
      required: true,
    },
  },
};

```

```

```

But this example doesn't work correct:

```

export default {
  props: {
    foo: {
      type: object,
      required: true,
    },
  },
};

```

```

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~18 days

Recently: every ~64 days

Total

63

Last Release

1589d ago

PHP version history (2 changes)v0.2PHP &gt;=7.1

0.31.2PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ef5b2163e53fd03bf69688462f3ad354c9c4ef1ced6ac96716f0405d0f678cd?d=identicon)[Macavity](/maintainers/Macavity)

---

Top Contributors

[![tronsha](https://avatars.githubusercontent.com/u/2240180?v=4)](https://github.com/tronsha "tronsha (357 commits)")[![Macavity](https://avatars.githubusercontent.com/u/300609?v=4)](https://github.com/Macavity "Macavity (110 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/paneon-php-vue-to-twig/health.svg)

```
[![Health](https://phpackages.com/badges/paneon-php-vue-to-twig/health.svg)](https://phpackages.com/packages/paneon-php-vue-to-twig)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[bk2k/bootstrap-package

Bootstrap Package delivers a full configured frontend theme for TYPO3, based on the Bootstrap CSS Framework.

357891.4k72](/packages/bk2k-bootstrap-package)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[contao-themes-net/mate-theme-bundle

mate theme bundle for Contao 5

1219.2k1](/packages/contao-themes-net-mate-theme-bundle)

PHPackages © 2026

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