PHPackages                             biurad/consolelite - 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. biurad/consolelite

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

biurad/consolelite
==================

This is the light weight version of Symfony Console

v1.5.3(6y ago)12.5kMITPHPCI failing

Since May 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/biurad/Console-lite)[ Packagist](https://packagist.org/packages/biurad/consolelite)[ RSS](/packages/biurad-consolelite/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

> This library was strongly inspired by [Symfony Console](https://symfony.com/doc/current/components/console.html)

Console Lite - BiuradPHP Toolbox
================================

[](#console-lite---biuradphp-toolbox)

 [![Autoloader Jet Logo](https://raw.githubusercontent.com/biurad/Console-lite/master/logo.png)](https://raw.githubusercontent.com/biurad/Console-lite/master/logo.png)### This is the light weight version of Symfony Console. @author Divine Niiquaye.

[](#this-is-the-light-weight-version-of-symfony-console-author-divine-niiquaye)

[![Latest Stable Version](https://camo.githubusercontent.com/12a4435bec786dfb822fefadfedcba0139b11daf07edbf494918b43e1d6358a8/68747470733a2f2f706f7365722e707567782e6f72672f6269757261642f636f6e736f6c656c6974652f762f737461626c65)](https://packagist.org/packages/biurad/consolelite)[![Build Status](https://camo.githubusercontent.com/67c11c522f77ded511b16541d4a03a9aeb72aa9980d0f6c26df586a4a1ec9442/68747470733a2f2f7472617669732d63692e6f72672f6269757261642f436f6e736f6c652d6c6974652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/biurad/Console-lite)[![Total Downloads](https://camo.githubusercontent.com/f24026f87a770b736d45e9576c750cfec412afad656fe69aacfd987c4a510e6b/68747470733a2f2f706f7365722e707567782e6f72672f6269757261642f636f6e736f6c656c6974652f646f776e6c6f616473)](https://packagist.org/packages/biurad/consolelite)[![GitHub issues](https://camo.githubusercontent.com/2e0016b932b32959163f5259ae6890be7f4f149def64f0e4434a48cb52e37433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6269757261642f636f6e736f6c652d6c6974652e737667)](https://camo.githubusercontent.com/2e0016b932b32959163f5259ae6890be7f4f149def64f0e4434a48cb52e37433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6269757261642f636f6e736f6c652d6c6974652e737667)[![StyleCI](https://camo.githubusercontent.com/07d9cf3ca49edc48e0ac76807c33907111957c0fc04f448ee8f481b5cdd6fc4e/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3138363730393031322f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/186709012)[![BCH compliance](https://camo.githubusercontent.com/5318e9bf70db2456185a15301b11a94cb02ce9fa6f0b4367d02fb932aecbf0c2/68747470733a2f2f626574746572636f64656875622e636f6d2f656467652f62616467652f6269757261642f4175746f6c6f616465723f6272616e63683d6d6173746572)](https://bettercodehub.com/)[![Codacy Badge](https://camo.githubusercontent.com/54a157215846784b2b698d5cc222bb2ae56b95b2add6753d66c7d21956bdf3c6/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6530386165346435353037343434336638646434666439363034326333366530)](https://app.codacy.com/app/biustudio/Console-lite?utm_source=github.com&utm_medium=referral&utm_content=biurad/Console-lite&utm_campaign=Badge_Grade_Dashboard)[![License](https://camo.githubusercontent.com/14dd2f66ee88c4616880800cc8f0fbaf063518458ca089cb1101737d65f3cad8/68747470733a2f2f706f7365722e707567782e6f72672f6269757261642f636f6e736f6c656c6974652f6c6963656e7365)](https://packagist.org/packages/biurad/consolelite)

The Console tool allows you to create command-line commands. Your console commands can be used for any recurring task, stub generator, phar compile, such as cronjobs, imports, or other batch jobs.

Installation
============

[](#installation)

Just run this composer command:

```
composer require biurad/consolelite
```

Quickstart
==========

[](#quickstart)

Creating a Console Application
------------------------------

[](#creating-a-console-application)

First, you need to create a PHP script to define the console application:

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