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

chords's avatar

Upgrading via Composer

There are already a number of questions out there about the inability to access the spark-aurelius repository but bear with me, because I can't find an answer in those!

Here's what I'm seeing upon composer install:

  - Installing laravel/spark-aurelius (v7.0.2): Downloading (failed)    Failed to download laravel/spark-aurelius from dist: The "https://api.github.com/repos/laravel/spark-aurelius/zipball/3945a8ed439fdc50a31f781730c22b0dbfca5ea3" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing laravel/spark-aurelius (v7.0.2): Cloning 3945a8ed43 from cache

I have linked my Github to both Spark repositories. I've also ensured I added an SSH key for my vagrant box to Github (which confirms it's been used).

After running the install, I see /vendor/laravel/spark-aurelius and the changes.md show version 7.0.2 as does the artisan command.

Does that mean it installed correctly?

Because upon loading my app, I can see my homepage and the login page, but logging in or going to the register page throws an error:

Call to undefined method Laravel\Spark\Spark::teamString() (View: /home/vagrant/spark-analytics/resources/views/vendor/spark/nav/subscriptions.blade.php)

Can anyone help shed some light on what I might be doing wrong here? This has been jamming me up for an embarrassing amount of time now! Thank you so much ahead of time!

0 likes
1 reply
Braunson's avatar

You may have this resolved already but the Spark::teamString method was removed in 6.x. More information at the upgrade guide (if you have access to the repo https://github.com/laravel/spark-aurelius/issues/27).

If you haven't automatically updated your Spark views, you will have to do them manually. The new method is Spark::teamsPrefix()

Please or to participate in this conversation.