An open API service indexing awesome lists of open source software.

https://github.com/horstoeko/laravelextendedcommand

Extended Laravel Console Command
https://github.com/horstoeko/laravelextendedcommand

argument-validation command-line laravel-framework php php7 php8

Last synced: about 2 months ago
JSON representation

Extended Laravel Console Command

Awesome Lists containing this project

README

          

# Extended Laraval Console Command

[![Latest Stable Version](https://poser.pugx.org/horstoeko/laravelextendedcommand/v/stable.png)](https://packagist.org/packages/horstoeko/laravelextendedcommand) [![Total Downloads](https://poser.pugx.org/horstoeko/laravelextendedcommand/downloads.png)](https://packagist.org/packages/horstoeko/laravelextendedcommand) [![Latest Unstable Version](https://poser.pugx.org/horstoeko/laravelextendedcommand/v/unstable.png)](https://packagist.org/packages/horstoeko/laravelextendedcommand) [![License](https://poser.pugx.org/horstoeko/laravelextendedcommand/license.png)](https://packagist.org/packages/horstoeko/laravelextendedcommand) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/horstoeko/laravelextendedcommand)

[![CI (Ant, PHP 7.3)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php73.ant.yml/badge.svg)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php73.ant.yml) [![CI (Ant, PHP 7.4)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php74.ant.yml/badge.svg)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php74.ant.yml) [![CI (PHP 8.0)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php80.ant.yml/badge.svg)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php80.ant.yml) [![CI (PHP 8.1)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php81.ant.yml/badge.svg)](https://github.com/horstoeko/laravelextendedcommand/actions/workflows/build.php81.ant.yml)

An extension for Laravel's console command class

This class uses validation for the options. You can define which and how the options are validated. For this
the Laravel's Validation Facade is used

## Installation

There is one recommended way to install `horstoeko/laravelextendedcommand` via [Composer](https://getcomposer.org/):

* adding the dependency to your ``composer.json`` file:

```js
"require": {
..
"horstoeko/laravelextendedcommand":"^1",
..
},
```

## Note

The code in this project is provided under the [MIT](https://opensource.org/licenses/MIT) license.