rossriley / php-vuejs-templating
Vue.js 模板引擎的 PHP 实现
1.2.8
2021-01-28 01:06 UTC
Requires
- php: >=7.1
- ext-dom: *
- ext-libxml: *
Requires (Dev)
- phpunit/phpunit: ^4.0
- wikibase/wikibase-codesniffer: ^0.3.0
- wmde/hamcrest-html-matchers: ^0.1.0
- dev-master
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.1.2
- 1.1.1
- 1.1
- 1.0.1
- 1.0
- 0.1.37
- 0.1.36
- 0.1.35
- 0.1.34
- 0.1.33
- 0.1.32
- 0.1.31
- 0.1.30
- 0.1.29
- 0.1.28
- 0.1.27
- 0.1.26
- 0.1.25
- 0.1.24
- 0.1.23
- 0.1.22
- 0.1.21
- 0.1.20
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
- dev-hotfix/handle-filters-for-nodes
- dev-hotfix/improve-test-coverage
This package is not auto-updated.
Last update: 2024-09-19 20:28:57 UTC
README
简单的 PHP 实现,用于渲染 Vue 模板 渲染器。
该库是为了在 Wikibase Lexeme 扩展 中渲染模板而创建的。它有意识地只覆盖了 Wikibase Lexeme 扩展使用的 Vue 模板语法的子集。它不会覆盖 Vue 模板语言的全部元素。
安装
推荐使用 Composer 安装库,例如,将以下行添加到 composer.json
文件的 require
部分
"rossriley/php-vuejs-templating": "~0.1"
测试
该库包含一系列 PHPUnit 测试,包括对库元素的单元测试(tests/php
目录)以及 Wikibase Lexeme 扩展中使用的模板语法元素的集成测试(tests/integration
目录)。
可以通过执行 composer phpunit
命令来运行测试。