mirror of
https://github.com/Icinga/icinga-php-library.git
synced 2025-07-01 10:54:33 +02:00
Update README.md
This commit is contained in:
parent
84c91fbac0
commit
2afd0f67eb
@ -5,7 +5,7 @@ This project bundles all Icinga PHP libraries into one piece and can be integrat
|
||||
## Requirements
|
||||
|
||||
* [Icinga Web 2](https://github.com/Icinga/icingaweb2) (>= 2.9)
|
||||
* PHP (>= 7.2)
|
||||
* PHP (>= 8.2)
|
||||
|
||||
## Bundled Parts
|
||||
|
||||
@ -26,7 +26,7 @@ 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 use the default branch, it will not work! Checking out a
|
||||
> branch like `stable/0.10.1` or a tag like `v0.10.1` is fine.
|
||||
> branch like `stable/0.16.0` or a tag like `v0.16.0` is fine.
|
||||
|
||||
### Examples
|
||||
|
||||
@ -34,7 +34,7 @@ Download or clone this repository there (e.g. `/usr/share/icinga-php/ipl`) and y
|
||||
|
||||
```sh
|
||||
INSTALL_PATH="/usr/share/icinga-php/ipl"
|
||||
INSTALL_VERSION="v0.10.1"
|
||||
INSTALL_VERSION="v0.16.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
|
||||
@ -44,6 +44,6 @@ mkdir "$INSTALL_PATH" \
|
||||
|
||||
```
|
||||
INSTALL_PATH="/usr/share/icinga-php/ipl"
|
||||
INSTALL_VERSION="stable/0.10.1"
|
||||
INSTALL_VERSION="stable/0.16.0"
|
||||
git clone https://github.com/Icinga/icinga-php-library.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user