Sign inSign up

fideloper/composer

By fideloper

Updated about 10 years ago

PHP 7 container which includes git and composer

Image
0

10K+

fideloper/composer repository overview

Composer

This repository is based off of php:7.0-cli and adds on git and composer commands.

Usage

You can use it to run composer commands. It has no ENTRYPOINT defined, and so you can run any command with it (e.g. php, git, composer).

Typical usage will be to install a new PHP project or add on dependencies:

# Head to where ever you save your apps
cd ~/Sites

# Create a new Laravel application
# in directory "~/Sites/my-app"
docker run --rm \
    -v $(pwd):/opt \
    -w /opt \
    fideloper/composer:latest \
    composer create-project laravel/laravel my-app

Tag summary

Content type

Image

Digest

Size

169.7 MB

Last updated

about 10 years ago

docker pull fideloper/composer