初始化
安装
# mac
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
# windows powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows'))
# linux
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)"laravel new example-app
cd example-app
composer run devphp artisan config:show databasephp artisan env:encrypt最后更新于