Composer Update Laravel installer

Since I installed laravel/installer globally via

composer global require laravel/installer

So I update laravel/installer globally via:

composer global update laravel/installer

Then do:

composer global show

and I see

laravel/installer             v2.3.0  Laravel application installer.

Now I can install a fresh Laravel with auth flag!

laravel new project --auth

This command:

laravel new my-test-app --auth

Is the shorthand of four following commands:

Laravel new my-test-appcd my-test-appcomposer require laravel/ui --devphp artisan ui vue --auth

To initialize the Laravel project you need to:

php artisan migratenpm install
npm run dev

Read about Laravel ui auth command here.

Also read more here

Written by

Web geek, Self-taught full-stack web developer, Learning Python, Laravel, Vuejs, UX/UI design, Nuclear Physicist PhD

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store