Bundle for all Icinga PHP libraries
Go to file
Eric Lippmann c2da4d2d76 composer: Require ipl/web 2019-10-22 10:48:12 +02:00
bin make-release: keep json files, otherwise... 2019-05-16 17:56:04 +02:00
vendor Initial import 2018-11-06 13:40:46 +01:00
.gitignore gitignore: do not ignore composer.lock 2019-05-16 17:43:51 +02:00
LICENSE LICENSE: add MIT license 2019-05-16 17:15:59 +02:00
README.md Update version in README.md 2019-10-16 15:38:47 +02:00
composer.json composer: Require ipl/web 2019-10-22 10:48:12 +02:00
module.info Change version to dev-master 2019-03-26 16:34:37 +01:00
run.php Initial import 2018-11-06 13:40:46 +01:00

README.md

Icinga Web 2 - IPL

This module ships the new Icinga PHP library. 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.4.0 or a tag like v0.4.0 is fine.

Sample Tarball installation

MODULE_NAME=ipl
MODULE_VERSION=v0.4.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=ipl
MODULE_VERSION=v0.4.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.5.0