Download the PHP package thecodingmachine/symfony-console-universal-module without Composer
On this page you can find all versions of the php package thecodingmachine/symfony-console-universal-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thecodingmachine/symfony-console-universal-module
More information about thecodingmachine/symfony-console-universal-module
Files in thecodingmachine/symfony-console-universal-module
Package symfony-console-universal-module
Short Description Cross-framework module for symfony/console.
License MIT
Informations about the package symfony-console-universal-module
Symfony console universal module
This package integrates symfony/console in any container-interop compatible framework/container.
Installation
Once installed, you need to register the TheCodingMachine\SymfonyConsoleServiceProvider
into your container.
If your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.
Introduction
This service provider is meant to create a Symfony console in your container.
You can access the console using: vendor/bin/app_console
.
For the console to work, you need to have a container.php
file at the root of your project or in the 'config' directory. This file MUST returns your application's container.
This file will be used by the Symfony console to access and start the application.
Sample:
container.php (or config/container.php)
Provided services
This service provider provides the following services:
Service name | Description |
---|---|
HelperSet::class |
An empty HelperSet |
Application::class |
An empty console application |
Project template courtesy of thecodingmachine/service-provider-template
All versions of symfony-console-universal-module with dependencies
container-interop/service-provider Version ~0.3.0
symfony/console Version ~3.0
symfony/event-dispatcher Version ~3.0