Maybe someone here could suggest an super-Laravel-clean?
I would love that, and start again from scratch, but getting rid of Valet and Laravel hasn't helped.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
This happens every time (except for the first) that I try to create a new Laravel app:
$ laravel new fred
Crafting application...
[GuzzleHttp\Exception\RequestException]
cURL error 56: Recv failure: Connection reset by peer (see
http://curl.haxx.se/libcurl/c/libcurl-errors.html)
MacOS Sierra 10.12.5. I went through the Laravel installation process a few days ago, all good. Brew installed, Composer installed, Laravel installed, Valet installed. Then in the meantime I've been doing some other work with MAMP. Come back to Laravel to work through the tutorials (the 'blog' app) and it all goes fine. But then I try to create a new Laravel app, and I get this GuzzleHttp request exception every time.
Uninstall Valet. Uninstall Laravel. Reboot. Reinstall Laravel. Same thing.
I know I know it's a newbie issue, but I would have thought that a complete uninstall and re-install would make it work. But it doesn't.
The "-vvv" on the "laravel new" just says that there is a specific line within the GuzzleHttp that fails, but my machine is not unable to connect to the Internet, websites, etc.
Well, I'm not sure what part of this helped, but I followed the full MySQL uninstall and cleanout suggested here, https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks, and then did a MySQL reinstall, laravel reinstall, and now I seem to be going again.
Thanks. Hopefully my experience here can help someone else! :-)
Please or to participate in this conversation.