PHPackages                             simonepm/argumentor - 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. simonepm/argumentor

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

simonepm/argumentor
===================

simple and easy PHP library for passing arguments and options to a PHP command script from command line.

v1.0(7y ago)125MITPHPPHP &gt;=5.6.0

Since Oct 28Pushed 7y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (4)Used By (0)

argumentor
==========

[](#argumentor)

simple and easy PHP library for passing arguments and options to a PHP script from command line.

Installation
------------

[](#installation)

```
composer require simonepm/argumentor

```

Usage
-----

[](#usage)

```
php example.php testArgument -o testOption

```

Example
-------

[](#example)

```

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b1f349e999aefed8d66ec096506b7d08ae4453f0271d89f8ec3842095991f82?d=identicon)[simonepm](/maintainers/simonepm)

---

Top Contributors

[![simonepm](https://avatars.githubusercontent.com/u/44468150?v=4)](https://github.com/simonepm "simonepm (18 commits)")

---

Tags

phpoptionslibraryoptioncommandargumentarguments

### Embed Badge

![Health badge](/badges/simonepm-argumentor/health.svg)

```
[![Health](https://phpackages.com/badges/simonepm-argumentor/health.svg)](https://phpackages.com/packages/simonepm-argumentor)
```

###  Alternatives

[aura/cli

Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.

1051.6M29](/packages/aura-cli)[clue/commander

Finally a sane way to register available commands and arguments and match your command line in PHP.

16724.0k9](/packages/clue-commander)[ollyxar/php-malware-detector

PHP malware detector

12926.4k](/packages/ollyxar-php-malware-detector)[phalcon/cli-options-parser

Command line arguments/options parser.

181.0M7](/packages/phalcon-cli-options-parser)[clue/arguments

The simple way to split your command line string into an array of command arguments in PHP.

31190.6k7](/packages/clue-arguments)[donatj/flags

GNU-style PHP command line argument parser

19152.2k6](/packages/donatj-flags)

PHPackages © 2026

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