generated from chevere/docs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
146 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# Installation | ||
|
||
## Self-contained binary <Badge text="recommended"/> | ||
|
||
Download latest `xrdebug` binary for your operating system and CPU architecture. | ||
|
||
### macOS | ||
|
||
| CPU | Download | | ||
| ------- | ---------------------------------------------------------------------------------------------------------------- | | ||
| Silicon | [xrdebug-macos-arm64.pkg](https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-macos-arm64.pkg) | | ||
| Intel | [xrdebug-macos-x86_64.pkg](https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-macos-x86_64.pkg) | | ||
|
||
::: details CLI instructions | ||
Run the following to install from your terminal: | ||
|
||
<code-group> | ||
<code-block title="Silicon"> | ||
```sh | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-macos-arm64.pkg | ||
open xrdebug-macos-arm64.pkg | ||
``` | ||
</code-block> | ||
|
||
<code-block title="Intel"> | ||
```sh | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-macos-x86_64.pkg | ||
open xrdebug-macos-x86_64.pkg | ||
``` | ||
</code-block> | ||
</code-group> | ||
::: | ||
|
||
### Linux | ||
|
||
| CPU | Download | | ||
| ------- | ------------------------------------------------------------------------------------------------------------------------ | | ||
| aarch64 | [xrdebug-linux-aarch64.tar.gz](https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-linux-aarch64.tar.gz) | | ||
| x86_64 | [xrdebug-linux-x86_64.tar.gz](https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-linux-x86_64.tar.gz) | | ||
|
||
::: details CLI instructions | ||
Run the following to install from your terminal: | ||
|
||
<code-group> | ||
<code-block title="aarch64"> | ||
```sh | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-linux-aarch64.tar.gz | ||
tar -xvf xrdebug-linux-aarch64.tar.gz | ||
``` | ||
</code-block> | ||
|
||
<code-block title="x86_64"> | ||
```sh | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug-linux-x86_64.tar.gz | ||
tar -xvf xrdebug-linux-x86_64.tar.gz | ||
``` | ||
</code-block> | ||
</code-group> | ||
::: | ||
|
||
## PHAR | ||
|
||
Download latest [xrdebug.phar](https://github.com/chevere/xrdebug/releases/latest/download/xrdebug.phar) file. | ||
|
||
::: details CLI instructions | ||
To download and verify from terminal: | ||
|
||
```sh | ||
# download | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug.phar | ||
curl -LO https://github.com/chevere/xrdebug/releases/latest/download/xrdebug.phar.asc | ||
# verify | ||
gpg --recv-keys 75BD018B5EB1DAC838C358414B997D0D617BB354 | ||
gpg --with-fingerprint --verify xrdebug.phar.asc xrdebug.phar | ||
``` | ||
|
||
::: | ||
|
||
## Source | ||
|
||
To install from source clone the [repository](https://github.com/chevere/xrdebug): | ||
|
||
```sh | ||
git clone https://github.com/chevere/xrdebug.git | ||
``` | ||
|
||
Install dependencies using Composer: | ||
|
||
```sh | ||
composer install | ||
``` | ||
|
||
The command will be available at: | ||
|
||
```sh | ||
./xrdebug | ||
``` | ||
|
||
## Packagist | ||
|
||
Use package [chevere/xrdebug](https://packagist.org/packages/chevere/xrdebug) to install as a dependency for your project using Composer: | ||
|
||
```sh | ||
composer require --dev chevere/xrdebug | ||
``` | ||
|
||
The dependency server will be available at: | ||
|
||
```sh | ||
vendor/bin/xrdebug | ||
``` | ||
|
||
## Docker | ||
|
||
Container images are available at [ghcr.io/chevere/xrdebug](https://github.com/chevere/xrdebug/pkgs/container/xrdebug). | ||
|
||
Run the following command to start the server at port `27420`: | ||
|
||
```sh | ||
docker run -t --init --rm -p 27420:27420 ghcr.io/chevere/xrdebug | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
|
||
return [ | ||
'README.md', | ||
'introduction/', | ||
'configuration/', | ||
'install/', | ||
'run/', | ||
'Library', | ||
'developer/', | ||
]; |