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

snmd73's avatar

Spark - Multiple developers working on spark project

Hello,

I'm trying to install spark, but I'm running into issues. I've joined an organization (my company) that has an account with Spark. He created a spark token for me and I have followed both of these instructions - One & Two. But I keep getting the following error:

[RuntimeException] Failed to execute git clone --mirror 'https://:@github.com/laravel/spark-aurelius.git' '/home/vagrant/.composer/cache/vcs /https---[username]-[SPARK TOKEN]-github.com-laravel-spark-aurelius.git/'

Cloning into bare repository '/home/vagrant/.composer/cache/vcs/https---[username]-[SPARK TOKEN]-github.com-laravel-spark-aurelius.git'... remote: Repository not found. fatal: repository 'https://:@github.com/laravel/spark-aurelius.git/' not found

Also, I'm trying to install via the spark installer.

Thanks

0 likes
1 reply
Braunson's avatar

You need to generate a Git token from the account that has access to the Spark repo, then add that into the composer file so it's used to retrieve the private package. It'll be added to your projects composer.json looking like so..

{
    "config": {
        "github-oauth": {
            "github.com": "your-generated-token-here"
        }
    },
}
1 like

Please or to participate in this conversation.