I have ran composer global update, reinstalled xampp, allowed the intl and zip extensions, and it still fails at trying to install of psr/container and the following packages. Has anyone else had this issue on windows 11? If so, how did you fix it?
@Tray2 This was the route I ended up going with. For anyone who reads this and is having issues after installing Herd, after the installation, restart Herd and if that doesn't work, restart your computer. I don't know if this bug is fixed yet, but it took me a while to find the solution.
I gave up on trying to get XAMPP to work and honestly, I'm glad I did. Herd is amazing and I wish I would have switched sooner.
@lordbedwetter I don't have Laravel installed as a global package, I just rely on create-project to build a fresh install.
On Windows 11, I'm using the latest version of XAMPP, xampp-windows-x64-8.2.12-0-VS16-installer and in my php.ini, I've enabled curl, fileinfo, gd, gettext, intl, mbstring, xsl and zip.
I made a fresh installation a couple of days ago with Breeze/Blade in preparation for a new project without any problems.
If the error persists, check the specific error message related to psr/container or other packages. It might be a dependency conflict or a network issue.
Network Issues:
If you suspect network issues, try using a different network or disabling any VPNs or firewalls temporarily.
Use Composer's Verbose Mode:
Run the installation command with verbose mode to get more detailed error messages:
As a last resort, you might want to reinstall Composer to ensure there are no corrupted files.
By following these steps, you should be able to resolve the issue and successfully install a new Laravel project on Windows 11. If the problem persists, consider checking the Laravel and Composer documentation or forums for any updates or known issues specific to your environment.