magium/zf2-xpath-validator
Composer 安装命令:
composer require magium/zf2-xpath-validator
包简介
A simple validator to make sure that the provided text is valid Xpath
README 文档
README
This is a simple ZF2 componente that will validate that an Xpath expression is valid, not that it will return certain data. Checkout the test cases to see how to use it.
Or, look here:
$validator = new \Magium\Validate\Xpath\XpathValidator();
$validator->isValid('//div'); // returns true
or
$validator = new \Magium\Validate\Xpath\XpathValidator();
$validator->isValid('invalid xpath'); // returns false
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-01-28