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 →
Securing Filament plugins with Plumb image

Securing Filament plugins with Plumb

Read article
LayaPHP: Self-Hosted Text Classification for PHP and Laravel image

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Read article
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article