Bundle for all 3rd party PHP libraries used by Icinga Web products
Go to file
Thomas Gelf 4053b8454c Cleanup docs, prepare v0.4.1 2018-11-09 21:33:43 +01:00
bin Initial commit 2017-10-27 14:41:48 +02:00
vendor vendor/autoload: no failure on master, show error 2018-11-06 13:11:01 +01:00
.gitignore .gitignore: ignore editor and swap files 2018-04-18 11:13:15 +02:00
README.md Cleanup docs, prepare v0.4.1 2018-11-09 21:33:43 +01:00
composer.json react: use newer/stable versions 2018-11-06 13:12:46 +01:00
module.info Cleanup docs, prepare v0.4.1 2018-11-09 21:33:43 +01:00
run.php Initial commit 2017-10-27 14:41:48 +02:00

README.md

Icinga Web 2 - ReactPHP-based 3rd party libraries

This repository is an attempt to ship 3rd party libraries that might be useful for asynchronous PHP-based Icinga Web 2 modules. Please download the latest release and install it like any other module.

HINT: Do NOT install the GIT master, it will not work!

Sample Tarball installation

RELEASES="https://github.com/Icinga/icingaweb2-module-reactbundle/archive" \
&& MODULES_PATH="/usr/share/icingaweb2/modules" \
&& MODULE_VERSION=0.4.1 \
&& mkdir "$MODULES_PATH" \
&& wget -q $RELEASES/v${MODULE_VERSION}.tar.gz -O - \
   | tar xfz - -C "$MODULES_PATH" --strip-components 1
icingacli module enable reactbundle

Sample GIT installation

REPO="https://github.com/Icinga/icingaweb2-module-reactbundle" \
&& MODULES_PATH="/usr/share/icingaweb2/modules" \
&& MODULE_VERSION=0.4.1 \
&& mkdir -p "$MODULES_PATH" \
&& git clone ${REPO} "${MODULES_PATH}/reactbundle"
icingacli module enable reactbundle

Developer Documentation

Add a new dependency

composer require author/library:version

Create a new release

./bin/make-release.sh <version>

e.g.

./bin/make-release.sh 0.1.0