ammadeuss/laravel-html-dom-parser
laravel-html-dom-parser
Laravel wrapper for the PHP Simple HTML DOM Parser package
Instalation
Require this package with composer:
composer require ammadeuss/laravel-html-dom-parser
You need to add the service provider in app.php
Ammadeuss\LaravelHtmlDomParser\ServiceProvider::class,
If you want to use the facade, add this to your facades in app.php
'HTMLDomParser' => Ammadeuss\LaravelHtmlDomParser\Facade::class
Usage
$name = HTMLDomParser::str_get_html($html)->find('div.profile > span.name > span')[0]->plaintext;
Related Packages
hungnm1518/laravel-html-dom-parser
Laravel wrapper for the PHP Simple HTML DOM Parser package
1,169
0
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.1 | >=5.6 | ^5.2 | MIT | |
| v1.0 | 5.4.* | MIT |