Bundle for all Icinga PHP libraries
Go to file
Johannes Meyer bdd1c5c9c2 Add `bin/make-snapshot.sh` 2021-07-20 09:33:41 +02:00
bin Add `bin/make-snapshot.sh` 2021-07-20 09:33:41 +02:00
.gitignore make-release.sh: Copy assets, don't include sources of them 2021-05-04 10:56:36 +02:00
AssetLoader.php AssetLoader: Allow to make copies of assets 2021-05-04 10:56:36 +02:00
LICENSE LICENSE: add MIT license 2019-05-16 17:15:59 +02:00
README.md REAMDE.md: Use a real version in the examples 2021-06-24 11:45:14 +02:00
RELEASE.md Add RELEASE.md 2021-05-04 11:27:19 +02:00
composer.json composer.json: Require latest versions ipl libs 2021-06-24 11:27:11 +02:00

README.md

Icinga PHP Library - IPL

This project bundles all Icinga PHP libraries into one piece and can be integrated as library into Icinga Web 2.

Requirements

Bundled Parts

Installation

Please download the latest release and install it in one of your configured library paths. The default library path for Icinga Web 2 installations is: /usr/share/icinga-php

Download or clone this repository there (e.g. /usr/share/icinga-php/ipl) and you're done.

Note: Do NOT install the GIT master, it will not work! Checking out a branch like stable/0.6.0 or a tag like v0.6.0 is fine.

Examples

Sample Tarball installation

INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="v0.6.0"
mkdir "$INSTALL_PATH"
&& wget -q "https://github.com/Icinga/icinga-php-library/archive/$INSTALL_VERSION.tar.gz" -O - \
   | tar xfz - -C "$INSTALL_PATH" --strip-components 1

Sample GIT installation

INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="stable/0.6.0"
git clone https://github.com/Icinga/icinga-php-library.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"