samedi 5 août 2017

How to relevant in 2017 parse html links in laravel?

Old way -> PHP Simple HTML DOM

$html = file_get_html('http://www.google.com/');
foreach($html->find('div[class=name_class]') as $element) 
       echo $element->src . '<br>';

But now maybe have better way for parse html in laravel?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hxc3aj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire