DEV Community

Cover image for Setting Up Laravel 10 on Windows
Lance Munyao
Lance Munyao

Posted on

Setting Up Laravel 10 on Windows

I have been using Laravel on GNU/Linux for sometime now and the installation process has been quite smooth.
I however tried installing Laravel on Windows and I kept getting errors such as...

Your requirements could not be resolved to an installable set of packages.
Enter fullscreen mode Exit fullscreen mode
The zip extension and unzip/7z commands are both missing, skipping.
Enter fullscreen mode Exit fullscreen mode

If you are getting these same errors then this article is for you.
This article assumes that you have already tried setting up Laravel using composer but got errors in the process.

To solve it:

  1. Install 7-zip

Image description

  1. If you are using composer to setup your laravel project, use this CLI command
composer create-project laravel/laravel example-app --ignore-platform-req=ext-fileinfo
Enter fullscreen mode Exit fullscreen mode

Remember to replace example-app with your project name

And that's it. If you have tried this and it still doesn't work, feel free to hmu.

Happy Coding :)

Top comments (0)