tempest/console

The console component provides a way to build commands within the framework or standalone command-line applications.

v1.0.0-alpha.4 2024-11-25 08:34 UTC

README

composer require tempest/console
final readonly class Hello
{
    public function __construct(private Console $console) {}

    #[ConsoleCommand]
    public function world(): void
    {
        $this->console->writeln('Hello World!');
    }
}

Get started here

Join the Tempest Discord