2017 © Pedro Peláez
 

library laravel-html-dom-parser

Laravel wrapper for the PHP HTML DOM Parser package.

image

growthexponent/laravel-html-dom-parser

Laravel wrapper for the PHP HTML DOM Parser package.

  • Friday, September 25, 2015
  • by grexp
  • Repository
  • 1 Watchers
  • 6 Stars
  • 241 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

Laravel wrapper for the PHP HTML DOM Parser package.

Thin wrapper for https://github.com/paquettg/php-html-parser and provides the public function, (*1)

$proxy = "120.195.203.43:80";
$proxy = explode(':', $proxy);
loadFromUrlByProxy($url, $options = [], CurlInterface $curl = null, $proxy = null)

Installation

Requires, (*2)

  • PHP 5.4+
  • Laravel 5.1+

Install via Composer by adding the following line to the require block of your composer.json file, (*3)

"growthexponent/laravel-html-dom-parser": "1.0.*"

Then run php composer update, (*4)

Add this line to the providers array in your php app/config/app.php file:, (*5)

'LaravelHtmlDomParser\LaravelHtmlDomParserServiceProvider',

Sample Usage


<?php use LaravelHtmlDomParser\LaravelHtmlDomParser; class ...Controller extends Controller { /** * .... * * @return \Illuminate\Http\Response */ public function index() { $parser = new LaravelHtmlDomParser(); $proxy = "120.195.203.43:80"; $proxy = explode(':', $proxy); $html = $parser->loadFromUrlByProxy('http://www.growthexponent.com', [], null, $proxy); dd($html); } }

The Versions

25/09 2015

dev-master

9999999-dev

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by jpascoe

laravel parser html dom laravel html dom parser

25/09 2015

v1.0.6

1.0.6.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by jpascoe

laravel parser html dom laravel html dom parser

25/09 2015

v1.0.5

1.0.5.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

The Development Requires

by jpascoe

laravel parser html dom laravel html dom parser

25/09 2015

v1.0.4

1.0.4.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

by jpascoe

laravel parser html dom laravel html dom parser

24/09 2015

v1.0.3

1.0.3.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

by jpascoe

laravel laravel php html dom parser

24/09 2015

v1.0.2

1.0.2.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

by jpascoe

laravel laravel php html dom parser

24/09 2015

v1.0.1

1.0.1.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

by jpascoe

laravel laravel php html dom parser

24/09 2015

v1.0

1.0.0.0

Laravel wrapper for the PHP HTML DOM Parser package.

  Sources   Download

MIT

The Requires

 

by jpascoe

laravel laravel php html dom parser