Bundle for all Icinga PHP libraries
Go to file
Thomas Gelf b92832e63e README: use v0.2.1 in our examples
fixes #2
2019-05-02 13:42:36 +02:00
bin make-release: Support Macs 2019-03-26 17:40:53 +01:00
vendor Initial import 2018-11-06 13:40:46 +01:00
.gitignore Initial import 2018-11-06 13:40:46 +01:00
README.md README: use v0.2.1 in our examples 2019-05-02 13:42:36 +02:00
composer.json Prepare v0.2.0, add guzzlehttp/psr7 2019-03-26 05:56:36 +01: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.2.1 or a tag like v0.2.1 is fine.

Sample Tarball installation

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