alanvdb/symfony-console-application
最新稳定版本:v1.1
Composer 安装命令:
composer require alanvdb/symfony-console-application
包简介
Console application based on symfony/console library.
README 文档
README
Console application based on symfony/console library.
Overview
Features
Requirements
- alanvdb/console-application-interface ^1.0
Installation
composer require alanvdb/symfony-console-application
Usage
Here is an example of how to use symfony-console-application:
require 'vendor/autoload.php'; use AlanVdb\Console\SymfonyConsoleApplication; $instance = new SymfonyConsoleApplication( 'MyApp', '1.0', \My\Command::class // must implement AlanVdb\Console\Definition\CommandInterface );
Factory pattern :
require 'vendor/autoload.php'; use AlanVdb\Console\Factory\SymfonyConsoleApplicationFactory; $factory = new SymfonyConsoleApplicationFactory(); $instance = $factory->createConsoleApplication( 'MyApp', '1.0', \My\Command::class // must implement AlanVdb\Console\Definition\CommandInterface );
License
This project is licensed under the MIT License. See the MIT license file for details.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-15