rna-code / npm-cache-phpci-plugin
PHPCI plugin for npm integration
Installs: 361
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rna-code/npm-cache-phpci-plugin
Requires
- php: >=5.3.3
Requires (Dev)
- block8/phpci: 1.6.x
This package is not auto-updated.
Last update: 2025-10-06 17:46:30 UTC
README
A plugin for PHPCI to download and install npm packages required by your application.
Install the Plugin
- Navigate to your PHPCI root directory and run
composer require rna-code/npm-cache-phpci-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
Prerequisites
- npm-cache needs to be installed.
Plugin Options
- command [string, require] - Command name. See docs
- directory [string, optional] - Relative path to run npm-cache in.
- flags [list, optional] - Command flags
PHPCI Config
RNACode\PHPCI\NpmCache: command: install