yasiao/php-simple-html-dom-parser
最新稳定版本:1.5.3
Composer 安装命令:
composer require yasiao/php-simple-html-dom-parser
包简介
Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.
README 文档
README
Version 1.5.3
This project fork from sunra/php-simple-html-dom-parser.
Adaptation for Composer and PSR-0 of:
A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.
http://simplehtmldom.sourceforge.net/
Install
composer.phar
"require": { "yasiao/php-simple-html-dom-parser": "1.5.*" }
Usage
use Sunra\PhpSimple\HtmlDomParser; ... $dom = HtmlDomParser::str_get_html($str); or $dom = HtmlDomParser::file_get_html($file_name); $elems = $dom->find($elem_name); ...
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-02