a50/console

A50 Console Application

Maintainers

👁 bautrukevich

Package info

github.com/a50dev/console

Homepage

pkg:composer/a50/console

Statistics

Installs: 304

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2025-10-09 06:57 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 57d0ebe3914482ca491f023cb888598063827c2e

  • Siarhei Bautrukevich <hello.woop@bautrukevich.com>

consolea50

This package is auto-updated.

Last update: 2026-06-09 08:28:03 UTC


README

👁 Image

A50 Console


Example of Console Application using Symfony Console Component at core.

👁 Latest Version on Packagist
👁 Tests
👁 Analysis
👁 Total Downloads

Installation

You can install the package via composer:

composer require a50/console

Usage

Create a bin/app.php file at root of your project with content below:

<?php

declare(strict_types=1);

use A50\Console\Application;

/**
 * Self-called anonymous function that creates its own scope and keeps the global namespace clean.
 */
(function () {
 $application = new ConsoleApplication(
 appName: 'My Console App',
 catchExceptions: false,
 commands: [],
 );
 $application->run();
})();

Testing

make test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.