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

rrrankin's avatar

Update Laravel Installer Version

I am trying to install spark 2.0. The documentation indicates that I should make sure my version of the Laravel installer is >= 1.3.4. Running laravel -V tells me that my current version of the installer is 1.3.3.

I tried to run composer global update which tells me there is nothing to update. I also tried removing the installer and running composer global require "laravel/installer". Doing this indicates that version 1.3.4 is being installed, but when I run laravel -V again, it is still at version 1.3.3. Does anyone know how to get version 1.3.4 to install?

0 likes
6 replies
rnottinger's avatar

I got the same thing when I did a composer global update "laravel/installer"

It looked like it updated, but when I did a laravel -v it said Laravel Installer version 1.3.3 so I did a.... which laravel /Users/myhome/.composer/vendor/bin/laravel ... so now i start exploring...

then i did a ... cd /Users/myhome/.composer/vendor/laravel/installer/ then vi laravel changed 1.3.3 to 1.3.4...saved the file then did a

laravel -V
Laravel Installer version 1.3.4

I'm not sure if this is correct so someone else would have to confirm. ¯\_(ツ)_/¯

ABasso's avatar

on file laravel inside folder

C:\Users\Alexandre Basso\AppData\Roaming\Composer\vendor\laravel\installer

you see this

#!/usr/bin/env php
<?php

if (file_exists(__DIR__.'/../../autoload.php')) {
    require __DIR__.'/../../autoload.php';
} else {
    require __DIR__.'/vendor/autoload.php';
}

$app = new Symfony\Component\Console\Application('Laravel Installer', '1.3.3');
$app->add(new Laravel\Installer\Console\NewCommand);

$app->run();

it is not been change.

stwilson's avatar

No change. Laravel -v still shows 1.3.3 after update.

soli's avatar

The author forgot to change the version number when release v1.3.4.

Change the version required in ~/.composer.json from ^1.3 to dev-master, then composer update laravel/installer.

After that you'll get v1.3.4 show up when laravel -v.

Good luck.^_^

3 likes
talentedaamer's avatar

My laravel installer version is 2.0.1. Is is up to date? Today is May 10, 2019.

princeoo7's avatar

@TALENTEDAAMER - no it's 2.1.0 as of now. use composer global require laravel/installer or composer global update laravel/installer.

if getting error, then navigate to the Composer folder and delete the vendor folder and install a new fresh copy with first command.

5 likes

Please or to participate in this conversation.