PHPackages                             olliesplayground/clinch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. olliesplayground/clinch

ActiveLibrary[CLI &amp; Console](/categories/cli)

olliesplayground/clinch
=======================

Makes working with command line arguments a lot more pleasant

02PHPCI failing

Since Apr 6Pushed 6y agoCompare

[ Source](https://github.com/olliesplayground/clinch)[ Packagist](https://packagist.org/packages/olliesplayground/clinch)[ RSS](/packages/olliesplayground-clinch/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Clinch
======

[](#clinch)

Clinch is a lightweight, *no singing no dancing* command line argument parser that acts as a wrapper to the `getopt` function native to PHP.

It provides a simple and friendly API that makes working with command line arguments a lot more pleasant.

### Installation

[](#installation)

Clinch is installed via Composer by running the following

```
composer require olliesplayground/clinch

```

### Usage

[](#usage)

Clinch is used in the following way

`example.php`

```
