Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

Invite to upgrade the Laravel installer while creating a new Laravel application

Hello,

When I create a new Laravel application, I have this invite.

 WARN  A new version of the Laravel installer is available. You have version 5.25.3 installed, the latest version is 5.28.1.

 ┌ Would you like to update now? ───────────────────────────────┐
 │ ● Yes / ○ No                                                 │

I choose Yes, but I get the same invite continuously.

So the upgrade is never done.

Why ?

Thanks for your help.

V

0 likes
11 replies
vincent15000's avatar

And here is what I get when I upgrade manually the Laravel installer.

vincent@columbo:~/Documents/PRO/DEV$ composer global update laravel/installer
Changed current directory to /home/vincent/.config/composer
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package composer-unused/composer-unused-plugin is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

I specify that I have upgrade composer to the last version.

shanewatson08's avatar

This usually happens because the globally installed Laravel installer version is outdated.

You can upgrade it with:

composer global update laravel/installer

Or reinstall it completely:

composer global remove laravel/installer composer global require laravel/installer

After updating, verify the version:

laravel --version

Also make sure your Composer global bin directory is added to your system PATH.

For newer Laravel versions, you can alternatively create projects directly using Composer:

composer create-project laravel/laravel example-app

That method always pulls the latest Laravel release and avoids installer version mismatch issues.

1 like
vincent15000's avatar

I don't need that you copy / paste an AI response, I already asked some AIs for this problem ;).

jlrdw's avatar

Is this in a docker container?

1 like
Glukinho's avatar

Did you try to uninstall / install laravel installer instead of updating?

1 like
DigitalArtisan's avatar

Why use the laravel/installer?

I just use composer:

composer create-project laravel/laravel ProjectName.
1 like
Glukinho's avatar

Installer does some additional tuning for new app, such as disabling Pail on Windows installation. Since it's recommended and documented way to install Laravel it should work.

2 likes
tykus's avatar

@vincent15000 if you are using Laravel Herd, then you need to update the Laravel installer from the PHP settings

1 like
vincent15000's avatar

I'm not using Laravel Herd.

I will try to uninstall and reinstall the installer tomorrow.

Please or to participate in this conversation.