PHPackages                             nacosvel/console - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nacosvel/console

ActiveLibrary

nacosvel/console
================

The Nacosvel Console package.

1.x-dev(1y ago)011MITPHPPHP &gt;=8.0

Since Sep 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nacosvel/console)[ Packagist](https://packagist.org/packages/nacosvel/console)[ RSS](/packages/nacosvel-console/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Nacosvel Console
================

[](#nacosvel-console)

[![GitHub Tag](https://camo.githubusercontent.com/e010f0fc3a2305bf061c0915ee949626a9914f5a5ccb932432ddfdc9e4bed07b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6e61636f7376656c2f636f6e736f6c65)](https://github.com/nacosvel/console/tags)[![Total Downloads](https://camo.githubusercontent.com/52e6f551db3ffbfe35f58a44dbc8397f1e69763d20cf0133e1785ccfbf8be5de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e61636f7376656c2f636f6e736f6c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nacosvel/console)[![Packagist Version](https://camo.githubusercontent.com/f47e788944ef3b966a868c1ef0d912c65412fa8d17f502062d702d2e01f3b788/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e61636f7376656c2f636f6e736f6c65)](https://packagist.org/packages/nacosvel/console)[![Packagist PHP Version Support](https://camo.githubusercontent.com/c00fd5ea8686a6519c6301531f0925a4f637f993500393d54fd287b96e8ce7ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e61636f7376656c2f636f6e736f6c65)](https://github.com/nacosvel/console)[![Packagist License](https://camo.githubusercontent.com/7e50d40453f3e22202b20ccd6d8be8ccce931689001cf35a646f31a3ea84cda9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e61636f7376656c2f636f6e736f6c65)](https://github.com/nacosvel/console)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- [Symfony Console](https://github.com/symfony/console) ^6.0

Installation
------------

[](#installation)

You can install the package via [Composer](https://getcomposer.org/):

```
composer require nacosvel/console
```

Getting Started
---------------

[](#getting-started)

```
php ns
```

```
Nacosvel Console 1.0.0

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  completion  Dump the shell completion script
  help        Display help for a command
  list        List commands
```

Quick Examples
--------------

[](#quick-examples)

### 创建命令类

[](#创建命令类)

```
