Php artisan make:auth command is not defined

后端 未结 8 1496
耶瑟儿~
耶瑟儿~ 2020-12-04 09:17

I am trying to run this command in laravel 5.2 but it\'s not working.

php artisan make:auth 

and prompts with these statements.

<         


        
8条回答
  •  春和景丽
    2020-12-04 09:59

    Checkout your laravel/framework version on your composer.json file,

    If it's either "^6.0" or higher than "^5.9",

    you have to use php artisan ui:auth instead of php artisan make:auth.

    Before using that you have to install new dependencies by calling composer require laravel/ui --dev in the current directory.

提交回复
热议问题