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

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

weebel/console
==============

A lightweight and extensible command line interface (CLI) for PHP applications.

0.1(3y ago)010MITPHP

Since Feb 12Pushed 3y agoCompare

[ Source](https://github.com/weebel/console)[ Packagist](https://packagist.org/packages/weebel/console)[ RSS](/packages/weebel-console/feed)WikiDiscussions master Synced 1mo ago

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

Weebel Console
==============

[](#weebel-console)

A simple and flexible console package for PHP that lets you build command-line applications with ease.

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

[](#installation)

The easiest way to install the package is through composer:

```
composer require weebel/console
```

Usage
-----

[](#usage)

To utilize the console kernel, you must have a container class that implements the `Psr\Container\ContainerInterface` interface. A popular example of this is the Laravel container. Here is a simple usage example of this package using the Laravel container in the main bootstrap executable file in the project (you may name the file as console in the bin directory of your project):

```
#!/usr/bin/env php
