PHP Package: consolidation/annotated-command

A powerful PHP library for creating annotated commands with ease and efficiency, enhancing CLI functionality.

Current Version: 5.0.0
Last Updated: Date not available
PHP Requirement: >=7.1.3
Dependencies:
symfony/console
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Annotated Command is a versatile PHP library designed to streamline command creation in the CLI environment. By leveraging annotations, developers can simplify command definition and execution, boosting productivity and code readability. With extensive customization options and robust features, Annotated Command empowers developers to build sophisticated command-line interfaces effortlessly.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 5.0.0

Download Download v5.0.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/consolidation/annotated-command/5.0.0/loader.php';
require_once 'libs/symfony/console/{lib_version}/loader.php';

use Consolidation\AnnotatedCommand\Tests\CommandDataTest;
use Symfony\Component\Console\Application;

$obj = new CommandDataTest();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.