Skip to content

Instantly share code, notes, and snippets.

@vhr
Created November 4, 2018 15:16
Show Gist options
  • Save vhr/6a1507169efa18c49629b12c2531f65f to your computer and use it in GitHub Desktop.
Save vhr/6a1507169efa18c49629b12c2531f65f to your computer and use it in GitHub Desktop.
Use docker container for local CLI PHP
#!/bin/bash
docker run --rm -v $(pwd):/app -w /app php:cli php $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment