Console commands for Apitte (opens new window).

# Content

# Setup

First of all, setup core (opens new window) package.

Install and register console plugin

composer require apitte/console
1
api:
    plugins:
        Apitte\Console\DI\ConsolePlugin:
1
2
3

You also need setup an integration of symfony/console (opens new window), try contributte/console (opens new window)

If you use kdyby/console (opens new window) then make sure you add required tag to registered commands.

decorator:
    Symfony\Component\Console\Command\Command:
        tags: [kdyby.console.command]
1
2
3

# Commands

# Route dump

List all endpoints and their details

php bin/console apitte:route:dump
1