Bundle for all Icinga PHP libraries
Go to file
Eric Lippmann 98f54c7607 Include assets in make-release.sh 2020-03-13 13:32:59 +01:00
bin Include assets in make-release.sh 2020-03-13 13:32:59 +01: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
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 Raise ipl and PHP dependencies and add ipl/validator 2020-03-13 10:41:38 +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.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