Bundle for all 3rd party PHP libraries used by Icinga Web products
Go to file
Johannes Meyer 660609dafa
Merge pull request #2 from Icinga/add-php-diff-lib
Add php diff lib
2021-12-17 13:07:52 +01:00
.github/workflows Add create-snapshot workflow 2021-07-20 10:50:05 +02:00
asset/css/vendor Add style in LESS format for `jfcherng/php-diff` 2021-12-15 15:52:10 +01:00
bin Add `bin/make-snapshot.sh` 2021-07-20 10:48:03 +02:00
.gitignore .gitignore: allow composer.lock 2019-05-16 17:46:06 +02:00
LICENSE LICENSE: add missing file 2019-05-20 12:47:43 +02:00
README.md README.md: Update min PHP requirement 2021-12-15 15:53:23 +01:00
RELEASE.md Add RELEASE.md 2021-05-28 11:07:48 +02:00
composer.json Require `jfcherng/php-diff` and raise min PHP requirement to 7.1 2021-12-15 15:49:57 +01:00

README.md

Icinga PHP Thirdparty

This project bundles all 3rd party PHP libraries used by Icinga Web products into one piece, which can be integrated as library into Icinga Web 2.

Requirements

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/vendor) and you're done.

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

Examples

Sample Tarball installation

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

Sample GIT installation

INSTALL_PATH="/usr/share/icinga-php/vendor"
INSTALL_VERSION="stable/0.10.0"
git clone https://github.com/Icinga/icinga-php-thirdparty.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"