Created
June 9, 2023 19:09
-
-
Save xurizaemon/4b30f525b555c4c2399cac7bdfe08ad5 to your computer and use it in GitHub Desktop.
lando CLI PHP with xdebug
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
name: whatever | |
env_file: | |
- .env | |
services: | |
php: | |
type: php:8.2 | |
via: cli | |
overrides: | |
environment: | |
# Re-use Composer cache between projects. | |
COMPOSER_HOME: /user/.composer | |
xdebug: develop,debug | |
tooling: | |
composer: | |
service: php | |
description: Run Composer in container | |
whatever: | |
service: php | |
description: Run Whatever in container | |
command: php ./bin/whatever | |
php: | |
service: php | |
description: Run PHP in container | |
phpunit: | |
service: php | |
description: Run PhpUnit in container | |
command: ./vendor/bin/phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment