alexeyshockov/plain-commands-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

The bundle provides a way to configure your commands with annotations

v0.1.0 2019-02-23 10:42 UTC

This package is auto-updated.

Last update: 2024-01-08 21:20:57 UTC


README

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']