wmde/php-vuejs-templating

Name: php-vuejs-templating

Owner: Wikimedia Deutschland e.V.

Description: VueJS templating implementation in PHP

Created: 2017-06-08 17:41:16.0

Updated: 2018-05-24 16:40:13.0

Pushed: 2018-05-24 16:40:14.0

Homepage:

Size: 83

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

VueJS templating implementation in PHP

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": "^1.0.1"
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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.