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

karan21's avatar

requested package laravel/spark could not be found in any version

I am trying to install Spark but getting a lot of errors no matter which method I try.

Upon adding "laravel/spark": "*@dev" in the composer.js file I am getting this error. The requested package laravel/spark could not be found in any version, there may be a typo in the package name. Any clue what the issue is?

"require": { "php": ">=5.5.9", "laravel/framework": "5.2.", "laravel/cashier": "~6.0", "laravel/spark": "@dev" }

Added to the composer.js file and ran composer update. Got the couldnt found error.

0 likes
3 replies
egroeg's avatar

From the docs

Next, add the following repository to your composer.json file:

"repositories": [
    {
        "type": "composer",
        "url": "https://spark-satis.laravel.com"
    }
],

I lost an hour or so to this tonight too.

ejdelmonico's avatar

You guys should be aware that the latest Spark version uses Laravel 5.3, not 5.2

Please or to participate in this conversation.