2017 © Pedro Peláez
 

symfony-bundle simple-html-dom-bundle

The maintained version of 'Bundle around Simple HTML DOM library'

image

enemis/simple-html-dom-bundle

The maintained version of 'Bundle around Simple HTML DOM library'

  • Wednesday, March 7, 2018
  • by Enemis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 4 Versions
  • 33 % Grown

The README.md

SimpleHtmlDomBundle

Original package https://github.com/erivello/SimpleHtmlDomBundle was abandoned. This is attempt to giving to good bundle second chance. This bundle provides a simple integration of the Simple HTML DOM Parser into Symfony2|3., (*1)

I will do my best to support and timely update this package to supporting latest Symfony version.

Simple HTML DOM Parser is a HTML DOM parser written in PHP5+ that let you manipulate HTML, find tags on an HTML page with selectors just like jQuery and extract contents from HTML., (*2)

Installation

Installation is very easy, it makes use of [Composer][2]., (*3)

composer require enemis/simple-html-dom-bundle

Register the bundle in app/AppKernel.php:, (*4)

``` php <?php // app/AppKernel.php, (*5)

public function registerBundles() { $bundles = array( // ..., (*6)

    new Enemis\SimpleHtmlDomBundle\ErivelloSimpleHtmlDomBundle(),
);

} ```, (*7)

Usage

You can access the SimpleHtmlDomBundle by the simple_html_dom service:, (*8)

``` php <?php, (*9)

$parser = $this->container->get('simple_html_dom');, (*10)

$parser->load('http://www.google.com/');, (*11)

// Find all links foreach($parser->find('a') as $element) { echo $element->href . 'br/'; } ````, (*12)

License

The SimpleHtmlDomBundle is licensed under the MIT license., (*13)

The Versions

07/03 2018

dev-master

9999999-dev https://github.com/enemis/SimpleHtmlDomBundle

The maintained version of 'Bundle around Simple HTML DOM library'

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello
by Andrey Stadnik

php html dom

07/03 2018

1.0.4

1.0.4.0 https://github.com/enemis/SimpleHtmlDomBundle

The maintained version of 'Bundle around Simple HTML DOM library'

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello
by Andrey Stadnik

php html dom

07/02 2018

v1.0.3

1.0.3.0 https://github.com/enemis/SimpleHtmlDomBundle

The maintained version of 'Bundle around Simple HTML DOM library'

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello
by Andrey Stadnik

php html dom

03/02 2018

v1.0.1

1.0.1.0 https://github.com/enemis/SimpleHtmlDomBundle

The maintained version of 'Bundle around Simple HTML DOM library'

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello
by Andrey Stadnik

php html dom