Home  >  Article  >  Backend Development  >  About php artisan make:console SendEmails Why can't I find it in the list?

About php artisan make:console SendEmails Why can't I find it in the list?

PHP中文网
PHP中文网Original
2017-03-20 16:43:321628browse

Question:

php artisan make:console SendEmails was created successfully, why can’t it be found in the list? ? ? ?

Solution

Need to register in app/console/kernel.php

protected $commands = [
        \App\Console\Commands\SendEmails::class,
   ];

Related articles:

About laravel’s php artisan command not working?

Laravel Artisan command

About laravel - Error when executing php artisan make:model

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn