Skip to content

composer-php

Actions
Runs composer (yml)
php7.4
Latest
Star (11)

Composer action

GitHub license

Description

Github action for using composer in your workflows. The action comes with hirak/prestissimo preinstalled.
Uses the new YML syntax.

Versions

Supported versions

php7.4: Based on php:7.4-cli-alpine with composer and hirak/prestissimo
php7.3: Based on php:7.3-cli-alpine with composer and hirak/prestissimo

Deprecated versions

0.2.0 uses a pre-built docker image composer-prestissimo (basing on the official composer image). This improves build time (is now around 13s), since now the action only needs to pull instead of building it every time.

0.1.1 uses the the offical composer docker image directly and installs hirak/prestissimo.
Due to this, the image is freshly built everytime (roughly 31s).

Example usage

steps:
  - name: Run composer
    uses: nick-zh/composer-php@master
    with:
      action: 'install -oa'

composer-php is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Runs composer (yml)
php7.4
Latest

composer-php is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.