File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ class Facade extends \Illuminate\Support\Facades\Facade {
8
8
* {@inheritDoc}
9
9
*/
10
10
protected static function getFacadeAccessor () {
11
- return 'HTML2DomParser ' ;
11
+ return 'HTMLDomParser ' ;
12
12
}
13
13
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function boot()
23
23
*/
24
24
public function register ()
25
25
{
26
- $ this ->app ->bind ('HTML2DomParser ' , function ($ app ) {
26
+ $ this ->app ->bind ('HTMLDomParser ' , function ($ app ) {
27
27
return new HtmlDomParser ;
28
28
});
29
29
}
Original file line number Diff line number Diff line change 3
3
"description" : " Laravel wrapper for the PHP Simple HTML DOM Parser package" ,
4
4
"keywords" : [
5
5
" dom parser" ,
6
+ " html dom parser" ,
6
7
" laravel"
7
8
],
8
9
"require" : {
10
+ "php" : " >=5.6" ,
11
+ "illuminate/support" : " ^5.2" ,
9
12
"sunra/php-simple-html-dom-parser" : " ^1.5"
10
13
},
11
14
"homepage" : " https://github.com/ammadeuss/html-dom-parser" ,
18
21
],
19
22
"autoload" : {
20
23
"psr-4" : { "Ammadeuss\\ LaravelHtmlDomParser\\ " : " " }
24
+ },
25
+ "extra" : {
26
+ "laravel" : {
27
+ "providers" : [
28
+ " Ammadeuss\\ LaravelHtmlDomParser"
29
+ ],
30
+ "aliases" : {
31
+ "HTMLDomParser" : " Ammadeuss\\ LaravelHtmlDomParser\\ Facade"
32
+ }
33
+ }
21
34
}
22
35
}
You can’t perform that action at this time.
0 commit comments