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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures image

Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures

Read article
Laravel Read Replicas: Check if a Replica Has Caught Up image

Laravel Read Replicas: Check if a Replica Has Caught Up

Read article
UUID Request Input and Migration Failure Events in Laravel 13.42 image

UUID Request Input and Migration Failure Events in Laravel 13.42

Read article
Replay Missed Laravel Scheduled Tasks With Schedule Catchup image

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Read article
Search Polymorphic Relations and Filament Tables With Laravel Searchable image

Search Polymorphic Relations and Filament Tables With Laravel Searchable

Read article
Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs image

Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

Read article