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.
The zip extension and unzip/7z commands are both missing, skipping.
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:
- Install 7-zip
- 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
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)