wsdltophp/domhandler
Composer 安装命令:
composer require wsdltophp/domhandler
包简介
Decorative design pattern to ease DOM handling
README 文档
README
DOM Handler provides handful methods to manipulate/browse a DOM Document.
DomHandler uses the decorator design pattern in order to ease DOM handling.
The source code has been originally created into the PackageGenerator project but it felt that it had the possibility to live by itself and to evolve independtly from the PackageGenerator project if necessary.
Testing using Docker
Thanks to the Docker image of phpfarm, tests can be run locally under any PHP version using the cli:
- php-7.4
First of all, you need to create your container which you can do using docker-compose by running the below command line from the root directory of the project:
$ docker-compose up -d --build
You then have a container named dom_handler in which you can run composer commands and php cli commands such as:
# install deps in container (using update ensure it does use the composer.lock file if there is any) $ docker exec -it dom_handler php-7.4 /usr/bin/composer update # run tests in container $ docker exec -it dom_handler php-7.4 -dmemory_limit=-1 vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
Developers who helped on this project are listed in the composer.json file as Contributor and are:
FAQ
Feel free to create an issue.
License
The MIT License (MIT). Please see License File for more information.
wsdltophp/domhandler 适用场景与选型建议
wsdltophp/domhandler 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.96M 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 04 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「xml」 「dom」 「Xpath」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wsdltophp/domhandler 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wsdltophp/domhandler 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wsdltophp/domhandler 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A library that provides basic utilities for creating HTML documents.
A bridge between SimpleXML and the DOM extension, plus a bunch of convenience methods
BigPipe: Pipelining web pages for high performance built in PHP.
Load DOM document safety
Added a method to Laravel response for handling xml response and also converting Eloquent return to XML.
A modern HTML DOM parser for PHP using DOMDocument and Symfony CssSelector.
统计信息
- 总下载量: 1.96M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 21
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-11