Skip to content

Commit

Permalink
Add comment that the L5 service provider is only needed for artisan
Browse files Browse the repository at this point in the history
  • Loading branch information
Zae committed Feb 23, 2016
1 parent 488f7ca commit ffb26f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ protected $middleware = [
'Zae\StrictTransportSecurity\Middleware\L5\StrictTransportSecurity',
];
```

Add the service provider `Zae\StrictTransportSecurity\ServiceProvider\L5HTSTServiceProvider` to the `providers` array in the app config.
It's not strictly required to use the middleware but if you want to use the `vendor:publish` command add the service provider `Zae\StrictTransportSecurity\ServiceProvider\L5HTSTServiceProvider` to the `providers` array in the app config.
``` php
#config/app.php

Expand Down

0 comments on commit ffb26f9

Please sign in to comment.