LaravelPackages.net
Acme Inc.
Toggle sidebar
tumenbayev/laravel-html-dom-parser

Laravel wrapper for the PHP Simple HTML DOM Parser package

5
0
v1.3
About tumenbayev/laravel-html-dom-parser

tumenbayev/laravel-html-dom-parser is a Laravel package for laravel wrapper for the php simple html dom parser package. It currently has 0 GitHub stars and 5 downloads on Packagist (latest version v1.3). Install it with composer require tumenbayev/laravel-html-dom-parser. Discover more Laravel packages by tumenbayev or browse all Laravel packages to compare alternatives.

Last updated

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;
Comments