Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bastgau/devcontainer-php

GitHub template based on a dev container for quickly starting a new PHP project.
https://github.com/bastgau/devcontainer-php

dev-container development php

Last synced: 12 days ago
JSON representation

GitHub template based on a dev container for quickly starting a new PHP project.

Awesome Lists containing this project

README

        

[![maintainer](https://badgen.net/badge/maintainer/bastgau/orange?color=orange&icon=github)](https://gitHub.com/bastgau)
[![twitter](https://badgen.net/badge/twitter/_bastiengautier/?color=orange&icon=twitter)](https://www.twitter.com/_bastiengautier)
[![made-for-vscode](https://badgen.net/badge/Made%20for/VSCode/?color=blue&icon=visualstudio)](https://code.visualstudio.com/)
[![made-with-php](https://badgen.net/badge/Made%20with/PHP/?color=blue&icon=php)](https://www.php.net/)
[![made-with-docker](https://badgen.net/badge/Made%20with/Docker/?color=blue&icon=docker)](https://www.docker.com/)

# devcontainer-php

## Resume

Template to start quickly a PHP project with Visual Studio Code running inside a Docker container.

## Content

Everything is configured to use Xdebug integrated to Visual Studio Code. Xdebug provides a range of features to improve the PHP development experience.

In particular, you will be able to use the breakpoint in debug mode.

The following elements will be installed inside the container :

- PHP
- The open-source Apache HTTP Server
- Xdebug

The following VSC extension will be automatically installed :

- PHP Debug by [Xdebug](https://xdebug.org/) - https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug

Additionally, the installation of some recommended VSC extensions will be purposed when the container will be started for the first time.

- PHP Intelephense by Ben Mewburn : https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client

### Documentation about the dev containers for Visual Studio Code

Don't hesitate to look the Microsoft training to discover the dev container with VSC :

- https://learn.microsoft.com/en-us/training/modules/use-docker-container-dev-env-vs-code/

And more information :

- https://containers.dev/
- https://code.visualstudio.com/docs/devcontainers/containers
- https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers

Enjoy !