⚠️ DEPRECATED Use https://github.com/Icinga/ipl instead! -- Director users, please see README.md!
Go to file
Johannes Meyer 166967a34d assets: Copy assets instead of providing invalid symlinks 2021-03-23 12:25:43 +01:00
asset assets: Copy assets instead of providing invalid symlinks 2021-03-23 12:25:43 +01:00
bin make-release.sh: Use hardcoded branch name 2021-03-23 09:11:10 +01:00
vendor Release v0.9.9-dev 2021-03-23 09:13:54 +01:00
.gitignore gitignore: do not ignore composer.lock 2019-05-16 17:43:51 +02:00
AssetLoader.php Automatically load css/js assets from ipl-libs 2019-11-04 17:42:29 +01:00
LICENSE LICENSE: add MIT license 2019-05-16 17:15:59 +02:00
README.md Update README 2020-03-13 10:43:10 +01:00
composer.json composer.json: Require master branch from all ipl repositories 2021-03-23 08:51:11 +01:00
composer.lock Release v0.9.9-dev 2021-03-23 09:13:54 +01:00
module.info Release v0.9.9-dev 2021-03-23 09:13:54 +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.5.0 or a tag like v0.5.0 is fine.

Sample Tarball installation

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