Since laravel/spark is not free anymore and cannot be installed or updated with composer,
you can use this basic installation of Laravel 5.2 with all Spark code integrated in it from below link -
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
Getting error when installing Spark. I am on windows and when i run composer update step described in the Doc. I get a lots of error.
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing laravel/spark (v3.0.4)
Downloading: Failed
Failed to download laravel/spark from dist: The "https://api.github.com/repos/laravel/spark/zipball/ad230456253f5e33ee7f21c114dfe133b52d0a5f" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing laravel/spark (v3.0.4)
Cloning ad230456253f5e33ee7f21c114dfe133b52d0a5f
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Fahad-PC+2016-12-19+1141
to retrieve a token. It will be stored in "C:/Users/Fahad/AppData/Roaming/Composer/auth.json" for future use by Composer.
Token (hidden): 9Cm5uZIo0t1jy8FVi3fudS1rfINk1X7Th7YeWCOoIIRd6B8Byiomp0nZm4Jq
Invalid token provided.
You can also add it manually later by using "composer config github-oauth.github.com <token>"
[RuntimeException]
Failed to execute git clone --no-checkout "https://9Cm5uZIo0t1jy8FVi3fudS1r
fINk1X7Th7YeWCOoIIRd6B8Byiomp0nZm4Jq:***@github.com/laravel/spark.git" "C:\
laragon\www\spark2\vendor\laravel\spark" && cd /D "C:\laragon\www\spark2\ve
ndor\laravel\spark" && git remote add composer "https://9Cm5uZIo0t1jy8FVi3f
udS1rfINk1X7Th7YeWCOoIIRd6B8Byiomp0nZm4Jq:***@github.com/laravel/spark.git"
&& git fetch composer
Cloning into 'C:\laragon\www\spark2\vendor\laravel\spark'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://9Cm5uZIo0t1jy8FVi3fudS1rfINk1X7Th
7YeWCOoIIRd6B8Byiomp0nZm4Jq:***@github.com/laravel/spark.git/'
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
Need help.
With THanks, Fahad
Please or to participate in this conversation.