• This repository has been archived on 12/Nov/2019
  • Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A full proxy for composer repositories

broker

Note: this project is not actively maintained anymore. Since satis supports a similar functionality now, you should use satis instead.

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 files will be served directly by broker.

Installation

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

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

Download composer into broker's root directory:

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

Install all dependencies 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"
    }
],

More Repositories

1

react-intersection-observer

React component for the Intersection <Observer /> API
JavaScript
1,125
star
2

gradle-release

gradle-release is a plugin for providing a Maven-like release process for projects using Gradle
Groovy
865
star
3

react-intersection-list

React infinite scroll using the Intersection <Observer /> API
JavaScript
141
star
4

webpack-watchman-plugin

A webpack plugin that integrates watchman as its watcher.
JavaScript
55
star
5

phpnsc

Small tool to check for missing use statements when using PHP namespaces
PHP
43
star
6

react-fast-highlight

A fast react component wrapper for highlight.js
TypeScript
40
star
7

injektor

Dependency injection container for PHP, inspired by google-guice
PHP
38
star
8

avro-php

Generic Apache Avro PHP available as a composer package
PHP
38
star
9

azkaban-ldap-usermanager

Ldap authentication for Azkaban
Java
24
star
10

path-chunk-webpack-plugin

[Deprecated] Plugin to create a chunk based on matching against the module path.
JavaScript
22
star
11

spire

๐Ÿ—ผExtensible JavaScript toolbox management
JavaScript
22
star
12

gemini-react

Plugin, which simplifies writing gemini tests for react components
JavaScript
22
star
13

inline-stylesheet

Create inline styles for your components
JavaScript
21
star
14

restler

Restler is a project aiming on providing a unified way to easily build REST-services based on document-oriented databases, like MongoDB.
Java
16
star
15

moment-shortformat

moment-shortformat.js is an extension to moment.js that formats dates in a short format like it's used on ResearchGate.
JavaScript
16
star
16

gradle-release-examples

Repository containing all kinds of different configuration possibilities for the gradle-release plugin
Java
12
star
17

node-file-processor

Node.js utility for mass-processing files in parallel.
JavaScript
10
star
18

grunt-changed

Configure Grunt tasks to run with changed file contents only
JavaScript
10
star
19

babel-plugin-transform-scss-import-to-string

Babel plugin for inlining Sass imports into transpiled strings
JavaScript
10
star
20

babel-plugin-react-class-display-name

Add displayName to ES6 classes that extend React.Component
JavaScript
9
star
21

emailonacid

โœ‰๏ธ Mail visual regression testing library based on Email on Acid API
JavaScript
8
star
22

tooling

๐Ÿ›  ResearchGate's JavaScript Tooling
JavaScript
7
star
23

node-package-blueprint

Blueprint for scaffolding new node packages
JavaScript
7
star
24

rosalind-serif

Rosalind Serif โ€“ย A serif typeface built for ResearchGate
7
star
25

nodejs-simple-downloader

A simple cli downloader for nodejs
Go
5
star
26

mongoose-avro-schema-generator

Generates Apache avro schemas from mongoose schemas.
JavaScript
5
star
27

archaius-consul

Consul Connector for Archaius
Java
5
star
28

typewriter

PHP
4
star
29

CodingDojo

CodingDojo for Berlin organized at ResearchGate
Python
4
star
30

kafka-metamorph

Apache Kafka consumer API for selective partition consumption and explicit offset control
Java
3
star
31

doctrine-file

File-Reader for the Doctrine JSDoc Parser
JavaScript
3
star
32

foreman-templates

HTML
2
star
33

babel-preset-rg

Moved to https://github.com/researchgate/tooling
JavaScript
2
star
34

linting

Moved to https://github.com/researchgate/tooling
JavaScript
2
star
35

gemini-babel

Gemini plugin, which allows to use babel for writing tests.
JavaScript
2
star
36

babel-plugin-transform-react-jsx-props

Add additional props to a jsx snippet
JavaScript
1
star
37

gemini-localip

Gemini plugin to dynamically set root url to local ip address
JavaScript
1
star
38

diamond-linkerd-collector

Python
1
star
39

webpack-plugin-flow

Runs flow check before webpack compile or watch
JavaScript
1
star
40

logstash_gelfamqp_plugin

A logstash output plugin converts a logstash message to a GELF message that can be consumed by graylog2 and then pushes them to an amqp exchange.
Ruby
1
star