moon/artisan
Laravel Artisan as a Package
Laravel Artisan is not available as a composer package. You can use Laravel Artisan in your project with this package.
Laravel Versions
| Laravel | This Package | Installation |
|---|---|---|
| 5.5 | v1.9 | composer require moon/artisan:v1.9 |
| 5.4 | v1.7 | composer require moon/artisan:v1.7 |
| 5.3 | v1.6 | composer require moon/artisan:v1.6 |
| 5.2 | v1.5 | composer require moon/artisan:v1.5 |
| 5.1 | v1.4 | composer require moon/artisan:v1.4 |
Installation
- Run
composer require moon/artisan - Run
./vendor/moon/artisan/artisan artisan:init. This command creates artisan-config.php and artisan in your root directory.
Usage
- Run
php artisan make:console command-nameto create a new command. - When you create a new command, it will have Artisan\Console\Commands namespace. For example, if you run
php artisan make:console Hello, you will get Artisan\Console\Commands\Hello as a fully qualified class name. - Add the fully qualified class name to artisan-config.php
- Run
php artisan listto confirm.
For general usage, please refer to Artisan documentation at http://laravel.com/docs/5.2/artisan
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.9 | >=7.0.0 | 5.5.* | ||
| v1.8 | >=5.5.9 | 5.4.* | ||
| v1.7.1 | >=5.5.9 | 5.4.* | ||
| v1.7 | >=5.5.9 | 5.4.* | ||
| v1.6 | >=5.5.9 | 5.3.* | ||
| v1.5 | >=5.5.9 | 5.2.* | ||
| v1.4 | >=5.5.9 | 5.1.* | ||
| v1.3 | >=5.5.9 | 5.1.* | ||
| v1.2 | >=5.5.9 | 5.1.* | ||
| v1.1 | >=5.5.9 | 5.1.1 |