News

Laravel Installer Updated With Auth Scaffolding

Published
Laravel Installer Updated With Auth Scaffolding image

Taylor Otwell released a new feature for the Laravel Installer v2.3.0 which includes the auth scaffolding using the new --auth flag:

Just released Laravel Installer 2.3.0… added a new "–auth" flag to create a new project with the authentication scaffolding installed and ready to go! pic.twitter.com/z47NyEmW8E

— Taylor Otwell (@taylorotwell) November 18, 2019

Before Laravel 6, you could run make:auth immediately. However, with the release of Laravel 6, the make:auth command moved to a separate laravel/ui package. We wrote a detailed post about the reasoning behind the Laravel UI package and how to generate auth in Laravel 6.

After you update to the latest version, it’s even easier to generate auth:

composer global update laravel/installer
 
laravel --version
Laravel Installer 2.3.0
 
laravel new project --auth

If you’re curious about the implementation, you can check out the change: add auth option · laravel/installer@f5ebbff

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article