moon / artisan
Installs: 7 318
Dependents: 2
Suggesters: 0
Security: 0
Stars: 27
Watchers: 6
Forks: 13
Open Issues: 2
Requires
- php: >=7.0.0
- illuminate/console: 5.5.*
- illuminate/container: 5.5.*
- illuminate/contracts: 5.5.*
- illuminate/filesystem: 5.5.*
- illuminate/support: 5.5.*
This package is not auto-updated.
Last update: 2024-11-23 18:39:21 UTC
README
Laravel Artisan is not available as a composer package. You can use Laravel Artisan in your project with this package.
Laravel Versions
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-name
to 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 list
to confirm.
For general usage, please refer to Artisan documentation at http://laravel.com/docs/5.2/artisan