Skip to content

PHP

The PHP container is based on mappia/magento-php and serves as the devcontainer's workspace container. This is where your terminal sessions run, your code is edited, and where VS Code connects to. It runs PHP-FPM, which Nginx connects to via FastCGI.

All devcontainer features and VS Code extensions are installed into this container.

Default Credentials (Magento Admin)

Usernameadmin
Passwordadmin123

CLI Tools

The following tools are pre-installed in the container:

ToolDescription
ComposerPHP dependency manager
n98-magerun2Magento CLI utilities
MySQL clientConnect to the database from CLI
Redis CLIConnect to Redis/Valkey from CLI
GitVersion control
curl, wgetHTTP utilities
vimText editor

Extensions

The PHP container includes all extensions required by Magento. The exact set of extensions varies by Magento version and matches Adobe's system requirements.