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

bbetts's avatar

Homestead Bootcamp Windows 10 Spark installation -how?

I have finally managed to set up Homestead on my Bootcamp Windows 10 OS and have a test laravel 5.3 app running. I've purchased spark and I'm confused about how to proceed. Do I install it through Homestead or no? Can I use the 'spark new project' command or do I install a laravel instance and run composer update? I've tried both approaches with no luck, running into various errors -

If I try 'composer update' outside of homestead I get a 'you must enable the openssl extension in php.ini' error message.'

If I try 'composer update in homestead I get

    Now trying to download from source
  - Installing laravel/spark (v2.0.10)
    Cloning 4593d1cb56e21c2b802ef29961a1dcf34846a70a


  [RuntimeException]
  Failed to execute git clone --no-checkout 'https://***:***@github.com/laravel/spark.git' '/home
  /vagrant/Code/myapp.dev/vendor/laravel/spark' && cd '/home/vagrant/Code/myapp.dev/vendor/larave
  l/spark' && git remote add composer 'https://***:***@github.com/laravel/spark.git' && git fetch
   composer
  Cloning into '/home/vagrant/Code/myapp.dev/vendor/laravel/spark'...
  remote: Repository not found.
  fatal: repository 'https://***:***@github.com/laravel/spark.git/' not found

I'm guessing this last approach is the right one - I should be using a token, but how do I set this up? Spark installation guide says that I should be prompted about where to get one but this doesn't happen and instead tries the token you see above.

0 likes
1 reply
ejdelmonico's avatar

So, you are on Windows machine? Or a mac running windows in Bootcamp? If either one of these, follow the windows install instructions. However, if using Windows on a Mac with bootcamp...don't. Just install Homestead on the Mac and then follow the Spark install instructions. The installer will install everything you need if it goes well.

Please or to participate in this conversation.