Created
June 9, 2023 19:09
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