symplify/console-package-builder

This package is abandoned and no longer maintained. The author suggests using the symplify/package-builder package instead.

Package to speed up building command line applications

Maintainers

👁 TomasVotruba

Package info

github.com/deprecated-packages/console-package-builder

pkg:composer/symplify/console-package-builder

Statistics

Installs: 4 286 388

Dependents: 1

Suggesters: 0

Stars: 25

9.4.70 2021-10-02 16:05 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

Replaces

None

MIT cd99847c2258122926c9903589a742383b3eeba7

This package is auto-updated.

Last update: 2021-10-29 15:20:48 UTC


README

👁 Downloads total

Package to speed up building command line applications

Install

composer require symplify/console-package-builder --dev

Namesless Commands

Do you want to have convention in command naming? Read The Bullet Proof Symfony Command Naming

use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
use Symplify\ConsolePackageBuilder\DependencyInjection\CompilerPass\NamelessConsoleCommandCompilerPass;

class SomeKernel extends Kernel implements CompilerPassInterface
{
 public function process(ContainerBuilder $containerBuilder)
 {
 $containerBuilder->addCompilerPass(new NamelessConsoleCommandCompilerPass());
 }
}

Report Issues

In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker

Contribute

The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.