FavoriteLoadingAdd to favorites

composer global require “laravel/installer=~1.1”

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

Pin It on Pinterest

Share This