File tree 4 files changed +20
-9
lines changed
4 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 1
1
php-simple-html-dom-parser
2
2
==========================
3
3
4
- Version 1.7 - PHP 7.3 campatible
4
+ Version 1.7.1 - PHP 7.3 campatible
5
5
Changelog: https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.7/
6
6
7
7
8
8
Install
9
9
-------
10
10
11
11
```
12
- composer require Kub-AT /php-simple-html-dom-parser
12
+ composer require kub-at /php-simple-html-dom-parser
13
13
```
14
14
15
15
Usage
Original file line number Diff line number Diff line change 19
19
"php" : " >=5.3.2"
20
20
},
21
21
"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/" }
28
23
}
29
24
}
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 1
1
<?php
2
- namespace KubAT \ PhpSimple \ HtmlDomParser ;
2
+ namespace simple_html_dom ;
3
3
4
4
/**
5
5
* Website: http://sourceforge.net/projects/simplehtmldom/
You can’t perform that action at this time.
0 commit comments