⚠️ DEPRECATED Use https://github.com/Icinga/icinga-php-thirdparty instead! -- Director users, please see README.md!
Go to file
Johannes Meyer 1e682710d9
Add deprecation notice
2021-07-13 08:22:26 +02:00
bin make-release: fix module version string 2019-09-12 22:48:59 +02:00
vendor vendor/autoload: no failure on master, show error 2018-11-06 13:11:01 +01:00
.gitignore .gitignore: allow composer.lock 2019-05-16 17:46:06 +02:00
LICENSE LICENSE: add missing file 2019-05-20 12:47:43 +02:00
README.md Add deprecation notice 2021-07-13 08:22:26 +02:00
composer.json Require guzzlehttp/guzzle and guzzlehttp/psr7 2021-02-16 15:56:25 +01:00
module.info Change version to dev-master 2019-01-24 09:35:44 +01:00
run.php Initial commit 2017-10-27 14:41:48 +02:00

README.md

DEPRECATED

The currently maintained version of this project can be found here.

💡 Some modules (e.g. the Director) still depend on this module. This module is still available for usage, so if you're on Icinga Web 2 v2.8.2 or lower please install v0.9.0.
💡 However, if you're on Icinga Web 2 v2.9.0 or higher, this module is not required anymore. Unless you're running the Director in version 1.8.0 or lower, v1.8.1 also doesn't require this module.

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! Checking out a branch like stable/0.9.0 or a tag like v0.9.0 is fine.

Sample Tarball installation

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

Sample GIT installation

MODULE_NAME=reactbundle
MODULE_VERSION=v0.9.0
REPO="https://github.com/Icinga/icingaweb2-module-${MODULE_NAME}"
MODULES_PATH="/usr/share/icingaweb2/modules"
git clone ${REPO} "${MODULES_PATH}/${MODULE_NAME}" --branch "${MODULE_VERSION}"
icingacli module enable "${MODULE_NAME}"

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.9.0