Forrest logo
tool overview
On this page you find all important commands for the CLI tool phive. If the command you are looking for is missing please ask our AI.


Phive is a command-line tool used for managing and installing PHP dependencies. It simplifies the process of handling PHP package management by integrating with popular package managers like Composer and PEAR.

One of the key features of Phive is the ability to automatically install and update a specific version of a PHP dependency. This ensures that the correct and compatible version of a dependency is always used.

Phive uses a configuration file called "phive.xml" which lists all the required PHP dependencies for a project, along with their versions. It then fetches the specified versions of these dependencies and stores them in a central location, making them easily accessible for all projects.

Phive supports the concept of key servers, where developers can store their GnuPG keys for verifying the authenticity and integrity of PHP packages. This ensures that only trusted packages are installed.

Another important feature of Phive is the ability to handle global installations of PHP tools effortlessly. With a single command, you can install and manage global PHP tools without cluttering your project dependencies.

Phive provides a way to ensure the integrity of your installed dependencies by automatically verifying their SHA-1 and SHA-256 checksums, guaranteeing that the packages are not tampered with.

It also supports the distribution of your PHP packages using Phar archives, enabling easy distribution and installation of your own projects or libraries.

Phive integrates well with build tools and continuous integration systems, making it easy to incorporate into your development workflow.

It has extensive command-line options, providing flexibility and control over all the installation and management processes.

Phive is cross-platform and can be used on various operating systems such as Windows, macOS, and Linux, making it accessible to a wide range of PHP developers.

List of commands for phive:

tool overview