Skip to content

Instantly share code, notes, and snippets.

View danmcadams's full-sized avatar
🏠
Still Working from home

Dan McAdams danmcadams

🏠
Still Working from home
View GitHub Profile

Creating A Docker-powered Composer Alias

Create a simple composer alias with docker

Add this alias to the file containing your other aliases.

# This will use the latest composer version
alias composer='docker run --rm -it -v "${PWD}:/app" --user "$(id -u):$(id -g)" composer'

Add a Personal Access Token for GitHub