alexeyshockov / plain-commands-bundle

Symfony bundle to configure commands with annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlainCommandsBundle

Integrates alexeyshockov/plain-commands into a Symfony application.

Configuration and usage

The bundle has no configuration. Just register your classes in the DI container and mark them with plain_commands.set tag. For example, add everything from src/Command directory in your config/services.yaml:

services:
    App\Command\:
        resource: '../src/Command'
        tags: ['plain_commands.set']

About

Symfony bundle to configure commands with annotations


Languages

Language:PHP 100.0%