Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 754 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 754 Bytes

Composer Dagger Module

This is a Dagger module to handling installing dependencies in a PHP project with Composer.

Usage

To manage dependencies in the current working directory:

dagger call -m github.com/jasonmccallister/dagger-composer install export --path vendor

To provide a specific directory (default is the current directory) that contains the composer.lock and composer.json files:

dagger call -m github.com/jasonmccallister/dagger-composer install --dir ./path/to/directory export --path vendor

To use a specific version of composer (default is latest) use the --version flag.

dagger call -m github.com/jasonmccallister/dagger-composer --version 2.2 install export --path vendor