Sign inSign up

pvillareal/php

By pvillareal

•Updated over 2 years ago

Compiled PHP-cli (with xDebug) that includes everything that might be needed.

Image
Languages & frameworks
0

133

pvillareal/php repository overview

⁠Compiled docker cli for local development

This is my the docker image that I use for local development⁠. I do not take any credit for this project since I got majority of the idea from sprint cube⁠

Add this to your ~/.bash_profile

alias php="docker run --rm --interactive -p 8080:80 --expose 80 --tty --volume $PWD:/app -w /app pvillareal/php:8.3-cli php"

⁠PHPStorm

  • Settings -> PHP -> CLI Interpreter
  • Add a new interpreter from Docker, and paste in the tag name.

Tag summary

Content type

Image

Digest

sha256:6a2d96050…

Size

279.5 MB

Last updated

over 2 years ago

docker pull pvillareal/php:8.3-cli