wmde/php-vuejs-templating

PHP implementation of Vue.js templating engine

Package info

github.com/wmde/php-vuejs-templating

pkg:composer/wmde/php-vuejs-templating

Statistics

Installs: 43 654

Dependents: 3

Suggesters: 0

Stars: 30

Open Issues: 3

2.2.0-beta.12 2026-06-17 10:49 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-2.1-only 0bb8b90c934bf35e1f3a1b207aa44d0af6c0af0d

  • Aleksey Bekh-Ivanov

README

Simple PHP implementation of the Vue Template renderer.

The library has been created to be used for rendering templates in the Wikibase Lexeme extension. It intentionally covers only a subset of Vue Template syntax that is used by the Wikibase Lexeme extension. It is not going to cover all elements of Vue Template language.

Installation

The recommended way of installing the library is using Composer, e.g. by adding the following line to the require section of the composer.json file:

	"wmde/php-vuejs-templating": "^2.0.0"

Tests

The library comes with a set of PHPUnit tests, that include unit tests of library elements (tests/php directory), and also integration tests of rendering the template syntax elements used in the Wikibase Lexeme extension (tests/integration directory).

Tests could run by executing composer phpunit command.