This package integrates symfony/console in any container-interop compatible framework/container.
composer require thecodingmachine/symfony-console-universal-module
Once installed, you need to register the PSCS\Universal\Module\SymfonyConsoleServiceProvider
into your container.
If your container supports Puli integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.
This service provider is meant to create a Symfony\Component\Console\Application.
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