Created
September 30, 2022 10:52
-
-
Save mortenscheel/52fc23364e4b8568b7f222b1c310f1a6 to your computer and use it in GitHub Desktop.
PHP wrapper script for Laravel Sail and PhpStorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
runuser -u sail -- php "$@" | |
# 1. Copy or mount this script into the laravel.test container. | |
# 2. Setup your remote PHP interpreter in PhpStorm to use the script as "PHP Executable" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment