Skip to content

Commit

Permalink
upd purifier
Browse files Browse the repository at this point in the history
  • Loading branch information
alexusmai committed Sep 20, 2017
1 parent a4f5c83 commit 2491606
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Composer
composer require alexusmai/laravel-purifier
```

Add service provider to config/app.php
If you have Laravel 5.4 or earlier version, then add service provider to config/app.php and

``` php
Alexusmai\LaravelPurifier\LaravelPurifierServiceProvider::class,
```

And add alias
add alias.

``` php
'Purifier' => Alexusmai\LaravelPurifier\Facades\PurifierFacade::class,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": ">=5.6.4",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"ezyang/htmlpurifier": "4.8.*"
"ezyang/htmlpurifier": "4.9.*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2491606

Please sign in to comment.