Giter VIP home page Giter VIP logo

broker-2's Introduction

broker

broker is a full repository proxy for composer. It takes a composer file, downloads all requirements and all dependencies, and then publishes a new repository with all these packages. Instead of packagist or satis, all packages, including dist and source filles will be served directly by broker.

Installation

Clone broker in a directory that is accessable by your webserver:

git clone git://github.com/researchgate/broker.git

Download composer inter broker's root directory:

cd broker
wget http://getcomposer.org/composer.phar

Install all dependecies of broker:

php composer.phar install

Commands

Currently broker has two cli commands available

  • broker:add

    With broker:add you can add a new repository based on a composer json file

      php broker.php broker:add repository_name path/to/composer.json
    
  • broker:remove

    With broker:remove you can remove an existing repository

      php broker.php broker:remove repository_name
    

Web Interface

Broker also comes with a small web interface, that shows you all existing repositories and detailed information about the packages in it.

Using a broker repository in your project

Just add the following repository reference to your project's composer.json file

"repositories":[
    {
        "packagist": false
    },
    {
        "type": "composer",
        "url": "http://url/to/broker/repositories/repository_name"
    }
],

broker-2's People

Contributors

baldurrensch avatar bashofmann avatar igorw 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.