You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,15 @@ There are also several debug options which can be adjusted using the following p
144
144
*/
145
145
'debug_output' => false,
146
146
```
147
+
### Laravel Sail support
148
+
149
+
If you are using Laravel Sail and maybe not lokal PHP is installed, you can adjust the following parameters in the git-hooks.php config file:
150
+
151
+
```php
152
+
'use_sail' => env('GITHOOKS_USE_SAIL', false),
153
+
```
154
+
This will force the local git hooks to use the `sail` command to execute the hooks.
155
+
147
156
### Docker support
148
157
149
158
By default commands are executed locally, however this behavior can be adjusted for each hook using the parameters `run_in_docker` and `docker_container`:
0 commit comments