mathiasverraes/parsica
最新稳定版本:0.6.1
Composer 安装命令:
composer require mathiasverraes/parsica
包简介
The easiest way to build robust parsers in PHP.
README 文档
README
The easiest way to build robust parsers in PHP.
composer require mathiasverraes/parsica
Documentation & API: parsica.verraes.net
<?php $parser = between(char('{'), char('}'), atLeastOne(alphaChar())); $result = $parser->tryString("{Hello}"); echo $result->output(); // Hello
Development
After running composer install, run these to validate if everything is in working order:
composer run phpunit
composer run psalm
composer run uptodocs
# or all of them:
composer run test
统计信息
- 总下载量: 867
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 223
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-24