Coder Social home page Coder Social logo

composer-phive-bridge's Introduction

Composer-PHIVE Bridge

Build Status

Update the phive toolset on composer update

PHIVE is a tool to distribute PHAR files which is ideal to distribute tools for your build-process without having to worry about them influencing your dependencies.

Wait, what?

Well, usually whenever you require a development tool via composer require --dev that tool will influence your dependency tree as all the dependencies of your tool now become dependencies of your project. So whenever you require a lot of dev-dependencies that makes dependencies-resolving much more complicated as the dependencies of those dev-dependencies suddenly need to match your projects dependencies as well. To circumvent that you can use the phar-versions of the tools you are using. Those are like binary files that do not influence your dependencies at all.

The tool to use for managing those PHAR files is PHIVE. PHIVE not only allows you to install your CI tools without influencing your dependencies, it also comes with signature check on board so that you can be absolutely sure that only tools with correct digital signatures (if available) are installed.

But now you have to handle 2 different tools to get your dependencies and your tools up-to-date.

This plugin tries to fix that by updating your PHIVE-installed tools everytime you do a composer update. So you now only need to update one tool and the other one is updated automatically.

Installation

Obviously this is installed using Composer.

composer require --dev bitexpert/composer-phive-bridge

Usage

After the package is installed, there is nothing more you need to do. On the next composer update the plugin will check for phive and if it is not installed, it will install phive in the current folder and then run phive install to install all tools.

If you want to add a new tool, run phive install <tool> according to the PHIVE documentation

composer-phive-bridge's People

Contributors

bcremer avatar heiglandreas avatar shochdoerfer avatar szepeviktor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.