Skip to content

Commit

Permalink
Document installation with PHIVE
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 authored and AJenbo committed Oct 6, 2023
1 parent 22d3de7 commit 2a667f9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/site/rst/download/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ the following version agnostic link: ::
The Phar files of *PHPMD* are signed with a public key associated to ``pgp@phpmd.org.``.
The `key(s) associated with this E-Mail address`__ can be queried at `keys.openpgp.org`__.

Installing using PHIVE
======================

Alternatively, **PHPMD** can be installed through `PHAR Installation and Verification Environment (PHIVE)`__.
After `installing PHIVE`__,**PHPMD** can be installed using the following command: ::

php phive.phar install phpmd
Phive 0.15.2 - Copyright (C) 2015-2023 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list
Downloading key 9093F8B32E4815AA
Trying to connect to keys.openpgp.org (37.218.245.50)
Successfully downloaded key.

Fingerprint: E7A7 4510 2ECC 980F 7338 B307 9093 F8B3 2E48 15AA

PHPMD (PHP Mess Detector) <pgp@phpmd.org>

Created: 2023-09-15

Import this key? [y|N] y
Linking Y:\\.phive\phars/phpmd-2.14.1.phar to /path/to/your/project/tools/phpmd.bat

There are alternative `commands for PHIVE`__.

Installing via Composer
=======================

Expand Down Expand Up @@ -67,6 +91,9 @@ current state. It relies on the following software products:

__ https://keys.openpgp.org/search?q=pgp%40phpmd.org
__ https://keys.openpgp.org/
__ https://phar.io
__ https://phar.io/#Install
__ https://phar.io/#Usage
__ http://getcomposer.org/composer.phar
__ https://github.com/phpmd/phpmd
__ http://getcomposer.org/composer.phar
Expand Down

0 comments on commit 2a667f9

Please sign in to comment.