php composer环境安装参照php环境 按照官网安装配置 composer global require laravel/installer 运行laravel new blog新建测试项目(要等很久) 进入项目目录(blog) 运行php artisan serve 浏览器访问http://localhost:8000/