Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

phar-io/composer-plugin

Repository files navigation

⚠️ ARCHIVED ⚠️

This repository contains a PoC implemenation of a composer plugin which aimed to provide a custom command to integrate phive into composer. The idea though was abandoned and this repository now only remains as a read-only view in case anyone wants to have a look at the source code.

DO NOT USE IN PRODUCTION - It's unsupported, likely insecure and may not even work with current versions of composer ⚠️

composer-plugin

This plugin integrates Phive to Composer.

Requirement

Installation

composer global require phar-io/composer-plugin

Usage

After a successful installation there are two new commands in your Composer CLI available. With phive:run you can now install Phar files directly via Composer.

For example PHPUnit:

composer phive:run install phpunit

And with phive:info you can see some information's about your current Phive installation.