Cloud Native PHP 8.4 Development Environment
$:
vscode:
- docker:
image: docker.cnb.cool/examples/language/php-8.4
services:
- vscode
- docker
stages:
- name: ls
script: ls -al
- PHP 8.4.7 - Latest PHP version with CLI support
- Composer 2.8.9 - PHP dependency management
- code-server - VS Code in the browser
- pdo_mysql - MySQL database connectivity
- zip - ZIP archive handling
- mbstring - Multi-byte string processing
- xml - XML processing
- curl - HTTP client functionality
- opcache - Performance optimization
- json - JSON data handling (built-in)
- fileinfo - File type detection (built-in)
- git - Version control
- vim - Text editor
- curl/wget - HTTP utilities
- build-essential - C/C++ compilation tools
- cmake - Build system
- clang/llvm - Modern C/C++ compiler
- zip - Archive creation
- unzip - Archive extraction
- lsof - List open files
- nload - Network monitoring
- htop - Process monitoring
- net-tools - Network utilities
- dnsutils - DNS utilities
- openssh-server - SSH server
Included VS Code Extensions:
- bmewburn.vscode-intelephense-client - Advanced PHP IntelliSense
- xdebug.php-debug - PHP debugging support
- formulahendry.code-runner - Code execution in editor
- ms-vscode.vscode-typescript-next - TypeScript language support
- esbenp.prettier-vscode - Code formatting
- tencent-cloud.coding-copilot - AI-powered coding assistant