@php -r "file_exists('.env') || copy('.env.example', '.env');"
I got the following error
[InvalidArgumentException]
Script "post-install-cmd" is not defined in this package
run-script [--timeout TIMEOUT] [--dev] [--no-dev] [-l|--list] [--] [
Have you updated the installer?
@Dylan-DPC Yes updating fixes the issue. Thank you :-)
Updating laravel/installer (v1.3.7 => v1.4.1): Downloading (100%)
please close the issue then @jagadeshanh :)
As I have commented on here, the solution is to do a composer global update
before laravel new <project-name>
@gayansanjeewa Thanks man! It works I did updated laravel installer and it worked fine for me.
Thanks.
Thanks.