Laravel php artisan make:auth command not defined

By Dillon Smart · · · 0 Comments

Laravel

Laravel 6.0 LTS came with a lot of changes to the framework, apart from moving the the new Semantic Versioning, Laravels famous php artisan make:auth command was dropped.

php artisan make:auth

Before the Laravel make:auth command would create all the Migrations, Models, Controllers and Routes needed to easily setup an authenticatable application in seconds.

However, with the release of Laravel 6.0, authentication support is now added with a Laravel UI package.

To setup your application with authentication as you did with Laravel 5.* the new laravel UI package needs to be installed with composer.

composer require laravel/ui
php artisan ui vue --auth 

Running these commands will install the UI package and setup your authentication scaffold as it did before.

To utilise vue, you will need to run the application in dev mode. However, first you will need to install all the node modules:

npm install && npm run dev

I hope this helps those who got the same surprise as me when installing Larave 6.0 and running the Laravel make:auth command.

LaravelPHP

0 Comment

Was this helpful? Leave a comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What is PHP?

Updated 1st August 2022

PHP (PHP: Hypertext Preprocessor) is an open-source, general-purpose, and server-side scripting language widely used in web development. PHP is used to manage databases, dynamic content, session tracking, and much more. Let’s answer the question “What is PHP?”. What is PHP used for? Since its first release in 1995, PHP has been seen used in many

Find php.ini on Apple Silicon installed with Homebrew

Updated 1st October 2023

Are you having trouble finding your php.ini file which was installed locally with Homebrew? Packages installed with Homebrew can be installed in different locations making it hard to find, especially if you are on new Apple Mac running Apple’s Silicon chips. Here, I will show you home to locate your locally installed php.ini file installed

PHP 8.3 release and features

Updated 11th December 2023

The time of year is fast approaching for PHP developers around the world. We have a new PHP release knocking on the door. PHP 8.3 RC 1 is now available for testing, and with this release we are able to get a glimps at some of the highlight features coming later in the year. PHP