PHPackages                             yeriomin/getopt - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yeriomin/getopt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yeriomin/getopt
===============

A small PHP getopt helper/library. Provides a customizable input parameter interpretation and usage message generation.

v1.0.1(11y ago)11824[2 PRs](https://github.com/yeriomin/getopt/pulls)1MITPHPPHP &gt;=5.3.0

Since Dec 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yeriomin/getopt)[ Packagist](https://packagist.org/packages/yeriomin/getopt)[ RSS](/packages/yeriomin-getopt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

\#getopt

[![Latest Version](https://camo.githubusercontent.com/0c4a2148774b82b9b24a6bd101bf7c9c3542e5cef3dba78215a0ec00c4a5ba51/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796572696f6d696e2f6765746f70742e737667)](https://packagist.org/packages/yeriomin/getopt)[![Build Status](https://camo.githubusercontent.com/133467d6e025829c71775b672f206501ac087d5cc8929c9906f9bd4d3118ea38/68747470733a2f2f7472617669732d63692e6f72672f796572696f6d696e2f6765746f70742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yeriomin/getopt)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/788547569e7d0efb0d80b0cf6dc985f7a7b0df32ab6f11cc936db777083b840f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796572696f6d696e2f6765746f70742f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/yeriomin/getopt)[![SensioLabsInsight](https://camo.githubusercontent.com/5d823fb3f2d2ab7fffe6f37b8fa2cb324f2648d6de6bd8749b0b455461b31df5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66616466323938362d653762332d346533352d616337342d3865643330373366653266362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/fadf2986-e7b3-4e35-ac74-8ed3073fe2f6)

A small PHP getopt helper/library. Provides a customizable input parameter interpretation and usage message generation.

Usage
-----

[](#usage)

`$ composer require yeriomin/getopt`

```
