add support for composer global plugins

Open
#210 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php

Research direction

No implementation file or test is named. Start by locating the image build steps that install Composer dependencies, then determine where the global Composer plugin command belongs; done means the PHP image installs fxp/composer-asset-plugin globally at the requested ~1.3 version and dependent applications can use it.

Written by the indexing model from the issue text.

Description

Some applications rely on composer plugins to properly install their dependencies. For example, some applications delegates to composer the installations of npm and bower packages. Composer uses the plugin fxpio/composer-asset-plugin for this kind of 3rd party deps management. The issue is fxpio/composer-asset-plugin only can be installed/enable globally. So the image should install install using the command:

composer global require "fxp/composer-asset-plugin:~1.3"
Dominant language
Shell
Stars
114
Forks
326
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/s2i-php-container

All issues in sclorg/s2i-php-container

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.