hungnm1518/laravel-html-dom-parser

Laravel wrapper for the PHP Simple HTML DOM Parser package
1,154
Install
composer require hungnm1518/laravel-html-dom-parser
Latest Version:1.3.3
PHP:^8.0
License:MIT
Last Updated:Jun 19, 2025
Links: GitHub  ·  Packagist
Maintainer: hungnm144

laravel-html-dom-parser

Laravel wrapper for the PHP Simple HTML DOM Parser package

Instalation

Require this package with composer:

composer require hungnm1518/laravel-html-dom-parser

You need to add the service provider in app.php

HungNM\LaravelHtmlDomParser\ServiceProvider::class,

If you want to use the facade, add this to your facades in app.php

'HTMLDomParser' => HungNM\LaravelHtmlDomParser\Facade::class

Usage

$name = HTMLDomParser::str_get_html($html)->find('div.profile > span.name > span')[0]->plaintext;

Documents

https://simplehtmldom.sourceforge.io/docs/1.9/requirements/

Related Packages

ammadeuss/laravel-html-dom-parser

Laravel wrapper for the PHP Simple HTML DOM Parser package

367,368 37
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,315 160
laravel-ja/laravel

The Laravel Framework.

5,667 17
kavenegar/laravel

laravel 4 and 5 kavenegar integration

368,693 86
reliese/laravel

Reliese Components for Laravel Framework code generation.

3,991,690 1,705