PHPackages                             henderjon/simple\_scan\_args - 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. henderjon/simple\_scan\_args

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

henderjon/simple\_scan\_args
============================

a simple function to parse an $argv array

v1.0.0(11y ago)0136BSD-3-ClausePHPPHP &gt;=5.3.0

Since Apr 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/henderjon/simple_scan_args)[ Packagist](https://packagist.org/packages/henderjon/simple_scan_args)[ Docs](http://github.com/henderjon/simple_scan_args)[ RSS](/packages/henderjon-simple-scan-args/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

simple\_scan\_args
==================

[](#simple_scan_args)

simple\_scan\_args is a CLI function that will parse an array for -flags and -key=value pairs. It supports the following syntax: "-f" "-flag" "-key=value" "-key value". Using one or more dashes has no effect.

usage
=====

[](#usage)

$args = simple\_scan\_args($\_SERVER\["argv"\], array $keys, array $flags);

installation
============

[](#installation)

Using [composer](http://getcomposer.org/) `"require" : { "henderjon/simple_scan_args": "1.*" }`

license
=======

[](#license)

See LICENSE.md for the [BSD-3-Clause](http://opensource.org/licenses/BSD-3-Clause) license.

links
-----

[](#links)

- The [Packagist archive](https://packagist.org/packages/henderjon/simple_scan_args)
- Reading on [Semantic Versioning](http://semver.org/)
- Reading on[Composer Versioning](https://getcomposer.org/doc/01-basic-usage.md#package-versions)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~41 days

Total

2

Last Release

4376d ago

Major Versions

v0.1.0 → v1.0.02014-05-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/15bb251b7550dc9a7ee1a7642fd6c4534f72797a17b3c913e9a15a4462979612?d=identicon)[henderjon](/maintainers/henderjon)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/henderjon-simple-scan-args/health.svg)

```
[![Health](https://phpackages.com/badges/henderjon-simple-scan-args/health.svg)](https://phpackages.com/packages/henderjon-simple-scan-args)
```

###  Alternatives

[yooper/php-text-analysis

PHP Text Analysis is a library for performing Information Retrieval (IR) and Natural Language Processing (NLP) tasks using the PHP language

539393.0k2](/packages/yooper-php-text-analysis)[recca0120/laravel-erd

Laravel ERD automatically generates Entity-Relationship Diagrams from your Laravel models and displays them using Vuerd.

36072.0k](/packages/recca0120-laravel-erd)[emulsify-ds/emulsify-drupal

The official Drupal base theme for Emulsify that generates custom themes with Storybook development + Webpack Build

96539.1k2](/packages/emulsify-ds-emulsify-drupal)[vanderlee/php-sentence

Simple text sentence splitting and counting. Supports at least english, german and dutch, possibly more.

84555.7k6](/packages/vanderlee-php-sentence)

PHPackages © 2026

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