Skip to content

nicolasdewez/ApplicationConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApplicationConsoleBundle

SensioLabsInsight

The ApplicationConsoleBundle provides use console application with container in application and commands.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

    $ composer require nicolasdewez/application-console

This command requires you to have Composer installed globally, as explained in the installation chapter_ of the Composer documentation.

Using

Create an application file console.

    use App\Command\MyCommand;
    use Ndewez\ApplicationConsoleBundle\Application\Application;
    
    $application = new Application(__DIR__.'/config/services.xml');
    $application->addContainerCommand(new MyCommand());
    $application->run();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages