Download the PHP package netfocusinc/argh without Composer
On this page you can find all versions of the php package netfocusinc/argh. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netfocusinc/argh
More information about netfocusinc/argh
Files in netfocusinc/argh
Package argh
Short Description Argh! PHP Argument Helper. Easily parse all types of command line arguments in PHP CLI scripts.
License MIT
Homepage https://www.netfocusinc.com/argh
Informations about the package argh
Argh
"Argh" is short for Argument Helper.
Interpret PHP command line arguments with ease so you can focus on your CLI application.
-
More about Argh at Argh! Argument Helper for PHP CLI
- Detailed documentation in the Argh! Wiki
System Requirements
This project has been developed and tested with the following (see list below), and has yet to be tested using other operating systems or versions of PHP.
- PHP 7.2.14
- CentOS 7.6
Installing
There are two methods of installing Argh. Composer is recommended.
- Composer
- Phar (PHP Archive)
More detailed instructions can be found at Argh Installation Instructions
Composer Installation
Composer is the preferred method for installation.
Phar (PHP Archive)
Releases can be downloaded from Argh's Github Releases.
Basic Usage
Using Argh is an easy way to interpret command line arguments in your PHP CLI scripts.
When your PHP CLI script is invoked with command line arguments
$ php myprogram.php --message='Hello World!'
See more examples of how to use Argh are available.
Running Unit Tests
The PHPUnit tests for Argh can be run like this.
- When Argh is installed with Composer
Built With
- PHP - PHP is a popular general-purpose scripting language that is especially suited to web development.
- Composer - Dependency Manager for PHP
- PHPUnit - Testing Framework
- phar-composer - Simple phar creation for any project managed via composer.
Versioning
This project uses Semantic Versioning
For the versions available, see the GitHub releases page.
A Changelog is also available on Github.
Authors
See the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.