Skip to content

Commit

Permalink
Merge pull request #224 from gqrdev/update_docs
Browse files Browse the repository at this point in the history
Register Service Provider in Laravel 11
  • Loading branch information
freekmurze authored Apr 24, 2024
2 parents f3cac70 + c9e0eff commit 2e2f81c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/installation-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ Next, you need to register the service provider:
Spatie\Html\HtmlServiceProvider::class,
];
```

If you're using Laravel 11:

```php
// bootstrap/providers.php
return [
...
Spatie\Html\HtmlServiceProvider::class,
];
```

0 comments on commit 2e2f81c

Please sign in to comment.