Skip to content

chevronphp/argv

Repository files navigation

chevron/argv

Argv is a class to parse an ARGV style array. It 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.

Peruse the tests or, if present, the examples directory to see usage.

See packagist for version/installation info.

Latest Stable Version Build Status

About

an OOP way to parse an $argv array

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages