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.

Pixel Tracking in PHP

Updated 16th August 2022

When creating email campaigns, it’s important to know how many recipients actually opened your email. This information can help you determine if your efforts are working or if it’s time to change your strategy. Most mail champaign tools such as Mailchimp and SendInBlue use a technique called Pixel Tracking. In this post, you will learn

WordPress wp-admin redirects to HTTPS

Updated 18th May 2021

Does your WordPress wp-admin redirect to https rather than http? Below is a simple tutorial to stop this from happening. First, check the siteurl in the wp_options table within your database. Make sure the option_value is your site address with http:// not https://. If your siteurl is set as http:// the try the following. Open

PHP Numeric Literal Separator

Updated 14th December 2023

First introduced in PHP 7.4, the Numeric Literal Separator in PHP makes large integers within your code easy to read. Naturally, we find it easier to read number which are grouped, for example, 1,650,000. Using the numeric literal separator in PHP Since PHP 7.4, we can now use numbers like this: Adding an underscore between