Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Remg/ConsoleBundle

Repository files navigation

ConsoleBundle

A bundle to help writing commands with a lots of interactions that requires a lot of logics.

Introduction

The goal of this bundle is, like the Form types in the Form Component, to define Question types with a given context for each question.

Usage:

  • install the bundle with composer composer require remg/console-bundle dev-master
  • define your Style class, that must extend ConsoleStyle
  • create a style instance and set the QuestionFactory to it
  • build your questions like you build your forms!

You can even define your questions as services, by tagging them with the "question.type" tag. (just very like the Form component).

About

Console tools for Symfony3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published