File tree Expand file tree Collapse file tree 4 files changed +20
-9
lines changed
Expand file tree Collapse file tree 4 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 11php-simple-html-dom-parser
22==========================
33
4- Version 1.7 - PHP 7.3 campatible
4+ Version 1.7.1 - PHP 7.3 campatible
55Changelog: https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.7/
66
77
88Install
99-------
1010
1111```
12- composer require Kub-AT /php-simple-html-dom-parser
12+ composer require kub-at /php-simple-html-dom-parser
1313```
1414
1515Usage
Original file line number Diff line number Diff line change 1919 "php" : " >=5.3.2"
2020 },
2121 "autoload" : {
22- "psr-0" : {
23- "KubAT\\ PhpSimple\\ HtmlDomParser" : " src/"
24- },
25- "files" : [
26- " src/simple_html_dom.php"
27- ]
22+ "psr-0" : { "KubAT\\ PhpSimple\\ HtmlDomParser" : " src/" }
2823 }
2924}
Original file line number Diff line number Diff line change 1+ <?php
2+ namespace KubAT \PhpSimple ;
3+
4+ require 'lib ' .DIRECTORY_SEPARATOR .'simple_html_dom.php ' ;
5+
6+
7+ class HtmlDomParser {
8+
9+ static public function file_get_html () {
10+ return call_user_func_array ('\simple_html_dom\file_get_html ' , func_get_args ());
11+ }
12+
13+ static public function str_get_html () {
14+ return call_user_func_array ('\simple_html_dom\str_get_html ' , func_get_args ());
15+ }
16+ }
Original file line number Diff line number Diff line change 11<?php
2- namespace KubAT \ PhpSimple \ HtmlDomParser ;
2+ namespace simple_html_dom ;
33
44/**
55 * Website: http://sourceforge.net/projects/simplehtmldom/
You can’t perform that action at this time.
0 commit comments