Composer Update Laravel installer

Panjeh
2 min readNov 19, 2019

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             v4.1.1  Laravel application installer.

Note: suppose you want to install Laravel 9 (which works with at least php 8.0–8.1), while your system php version is php 7.4. Although you have updated the laravel installer but it won’t install laravel 9 for you! So first upgrade your php version by homebrew.

Before you continue with the rest of this tutorial, I would like to introduce two packages for Laravel that I have recently developed: Laravel Pay Pocket, a modern multi-wallet package, and Laravel Failed Jobs, a UI for the Laravel Failed Jobs Table. I hope they may be of help to you.

https://github.com/HPWebdeveloper/laravel-pay-pocket
https://github.com/HPWebdeveloper/laravel-failed-jobs

The we can run:

laravel new --help
or
laravel help new

Now I can install a fresh Laravel with various flags like jet or auth!

laravel new project --jetOld:
laravel new project --auth

Let’s discuss about the the command with — auth flag:

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

git laravel installer

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Panjeh
Panjeh

Written by Panjeh

Posting about Python and Laravel

Responses (1)

What are your thoughts?