File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,19 @@ composer require gnahotelsolutions/laravel-trailing-slash
1717
1818## Usage
1919
20- When installed you are ready to go!
21-
2220Optionally, you can publish the config file of the package.
2321
2422``` bash
2523php artisan vendor:publish --provider=" GnaHotelSolutions\LaravelTrailingSlash\LaravelTrailingSlashServiceProvider" --tag=config
2624```
27- ## Disable Laravel Trailing Slash
28- Place this variable in your .env
25+
26+ If you want to disable the behaviour of this package, use this variable in your ` .env ` file.
2927
3028```
3129TRAILING_SLASH=false
3230```
3331
34- ## Disable Laravel Trailing Slash integration in tests
32+ If you want to disable the behaviour of this package just in certain areas of your application, you can modify the configuration on runtime.
3533
3634``` php
3735config()->set('laravel-trailing-slash.active', false);
@@ -57,7 +55,8 @@ If you discover any security related issues, please email dtorralbo@gnahs.com in
5755
5856## Credits
5957
60- - [ David Torralbo] ( https://github.com/gnahotelsolutions )
58+ - [ David Torralbo] ( https://github.com/torralbodavid )
59+ - [ David Llop] ( https://github.com/lloople )
6160- [ All Contributors] ( ../../contributors )
6261
6362## License
You can’t perform that action at this time.
0 commit comments