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

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

magdev/console-form
===================

Symfony console form helper.

0.0.7(8y ago)09MITPHPPHP &gt;=5.4

Since Mar 8Pushed 6y ago1 watchersCompare

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

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

Console Form
============

[](#console-form)

[![Build Status](https://camo.githubusercontent.com/0b3497909b6dc89dbc8f4d75b610dcc3c19f4e5956130093405424ab9931fdca/68747470733a2f2f7472617669732d63692e6f72672f64726f6174682f636f6e736f6c652d666f726d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/droath/console-form)

A simple form solution when using the Symfony console component.

There are two ways forms can be created, one is using the standalone method which usually takes place in the command ***execute*** method.

Or by taking advantage of the auto discovery feature so you can reuse forms throughout the project, which keeps the form logic decoupled from the command it's executed on.

Getting Started
---------------

[](#getting-started)

First, you'll need to download the console form library using composer:

```
composer require droath/console-form
```

Set the **\\Droath\\ConsoleForm\\FormHelper** as a helper class within the console application HelperSet:

```
