PHPackages                             devsrealm/tonics-console - 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. devsrealm/tonics-console

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

devsrealm/tonics-console
========================

Tonics Console is a PHP-based command-line argument processing library. It allows you to easily parse and handle command-line arguments in your PHP applications.

1.1.3(8mo ago)03.5k↓50.8%MITPHPPHP &gt;=8.0

Since Nov 11Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/devsrealm/tonics-console)[ Packagist](https://packagist.org/packages/devsrealm/tonics-console)[ RSS](/packages/devsrealm-tonics-console/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Tonics Console
==============

[](#tonics-console)

Tonics Console is a PHP-based command-line argument processing library. It allows you to easily parse and handle command-line arguments in your PHP applications.

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

[](#installation)

To install Tonics Console, you can use Composer:

```
composer require devsrealm/tonics-console
```

Usage
-----

[](#usage)

### Basic Example

[](#basic-example)

Here's a basic example of how to use the `ProcessCommandLineArgs` class to parse command-line arguments:

```
