tantoniazi/laravel-html-dom-parser
最新稳定版本:2.0.1
Composer 安装命令:
composer require tantoniazi/laravel-html-dom-parser
包简介
Fork Laravel wrapper for the PHP Simple HTML DOM Parser package
README 文档
README
Laravel wrapper for the PHP Simple HTML DOM Parser package upgrade to php 8
Instalation
Require this package with composer:
composer require tantoniazi/laravel-html-dom-parser
You need to add the service provider in app.php
Tantoniazi\LaravelHtmlDomParser\ServiceProvider::class,
If you want to use the facade, add this to your facades in app.php
'HTMLDomParser' => Tantoniazi\LaravelHtmlDomParser\Facade::class
Usage
$name = HTMLDomParser::str_get_html($html)->find('div.profile > span.name > span')[0]->plaintext;
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-15