PHPackages                             tflori/getopt-php - 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. tflori/getopt-php

Abandoned → [ulrichsg/getopt-php](/?search=ulrichsg%2Fgetopt-php)Library[CLI &amp; Console](/categories/cli)

tflori/getopt-php
=================

Command line arguments parser for PHP 5.3 - 7.1

2.4.1(9y ago)45471MITPHPPHP &gt;=5.3.0

Since Jan 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tflori/getopt-php)[ Packagist](https://packagist.org/packages/tflori/getopt-php)[ Docs](http://ulrichsg.github.io/getopt-php)[ RSS](/packages/tflori-getopt-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (20)Used By (0)

ABANDONED
=========

[](#abandoned)

This package is **abandoned** and no longer maintained. Please use [ulrichsg/getopt-php](https://github.com/getopt-php/getopt-php) instead - all fixes and new features from this repo are included there.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 50.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Recently: every ~225 days

Total

14

Last Release

3357d ago

Major Versions

1.4.1 → 2.0.02014-01-30

2.3.0 → v3.x-dev2015-04-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed30b06fe8a167d7376849ca07be58aa288d22d6e01f59712fce7bd8ca77fbda?d=identicon)[tflori](/maintainers/tflori)

---

Top Contributors

[![ulrichsg](https://avatars.githubusercontent.com/u/197901?v=4)](https://github.com/ulrichsg "ulrichsg (45 commits)")[![tflori](https://avatars.githubusercontent.com/u/4855611?v=4)](https://github.com/tflori "tflori (17 commits)")[![jochenvdv](https://avatars.githubusercontent.com/u/6173051?v=4)](https://github.com/jochenvdv "jochenvdv (6 commits)")[![graste](https://avatars.githubusercontent.com/u/203540?v=4)](https://github.com/graste "graste (5 commits)")[![avargas](https://avatars.githubusercontent.com/u/169653?v=4)](https://github.com/avargas "avargas (3 commits)")[![kamermans](https://avatars.githubusercontent.com/u/266265?v=4)](https://github.com/kamermans "kamermans (2 commits)")[![geoffroy-aubry](https://avatars.githubusercontent.com/u/1247448?v=4)](https://github.com/geoffroy-aubry "geoffroy-aubry (2 commits)")[![kler](https://avatars.githubusercontent.com/u/966132?v=4)](https://github.com/kler "kler (1 commits)")[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (1 commits)")[![misterion](https://avatars.githubusercontent.com/u/196737?v=4)](https://github.com/misterion "misterion (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![sabl0r](https://avatars.githubusercontent.com/u/1169879?v=4)](https://github.com/sabl0r "sabl0r (1 commits)")[![christiaan](https://avatars.githubusercontent.com/u/118490?v=4)](https://github.com/christiaan "christiaan (1 commits)")[![tlj](https://avatars.githubusercontent.com/u/226029?v=4)](https://github.com/tlj "tlj (1 commits)")[![CHH](https://avatars.githubusercontent.com/u/16783?v=4)](https://github.com/CHH "CHH (1 commits)")[![Firehed](https://avatars.githubusercontent.com/u/354842?v=4)](https://github.com/Firehed "Firehed (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tflori-getopt-php/health.svg)

```
[![Health](https://phpackages.com/badges/tflori-getopt-php/health.svg)](https://phpackages.com/packages/tflori-getopt-php)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
