Create New Laravel 6 App

Laravel App

Have you ever get this error? If yes I am not alone. I have an existing laravel installer for 5.0 and now its time to upgrade and boom.. that error came out.

Don’t panic, the problem is not quite hard to fix. it is only because your composer isn’t compatible with the newer version of laravel. just run:

$ composer self-update
Error for ext-zip not installed by botman

The other thing that happened in my development environment is that I have a legacy Botman system and now it yelled out complaining over ext-zip extension. Just don’t panic. (in my context I was on Mac Catalina os)

$ brew install php@7.3
$ brew link php@7.3
$ echo 'export PATH="/usr/local/opt/php@7.3/bin:$PATH"' >> ~/.zshrc
$ echo 'export PATH="/usr/local/opt/php@7.3/sbin:$PATH"' >> ~/.zshrc

In the end your laravel installation is good to go.

Successfull installation

Thanks for reading. Hope this help

Leave a Reply

Your email address will not be published. Required fields are marked *