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 →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article