mirror of
https://github.com/Icinga/icinga-php-library.git
synced 2025-07-03 03:44:29 +02:00
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
- Icinga Web 2 (>= 2.9)
- PHP (>= 5.6, 7+ recommended)
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/php-Icinga
Download or clone this repository there (e.g. /usr/share/php-Icinga/ipl
) and you're done.
Note
: Do NOT install the GIT master, it will not work! Checking out a branch like
stable/1.0.0
or a tag likev1.0.0
is fine.
Examples
Sample Tarball installation
INSTALL_PATH="/usr/share/php-Icinga/ipl"
INSTALL_VERSION="v1.0.0"
mkdir "$INSTALL_PATH"
&& wget -q "https://github.com/Icinga/ipl/archive/$INSTALL_VERSION.tar.gz" -O - \
| tar xfz - -C "$INSTALL_PATH" --strip-components 1
Sample GIT installation
INSTALL_PATH="/usr/share/php-Icinga/ipl"
INSTALL_VERSION="stable/1.0.0"
git clone https://github.com/Icinga/ipl.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
Languages
PHP
57.7%
Shell
42.3%