phpstudy下使用composer安装Laravel 男娘i 2022-05-09 09:40 439阅读 0赞 1、下载Composer,安装,php选择D:\\phpStudy\\php\\php-7.0.12-nts\\php.exe 2、下载composer.phar,放到目录D:\\phpStudy\\php\\php-7.0.12-nts\\中(这个目录也是php7的php.exe目录)。 3、在目录D:\\phpStudy\\php\\php-7.0.12-nts\\中新建一个composer.cmd文件。用文本编辑器打开,输入@php "%~dp0composer.phar" %\* 4、打开命令行,输入以下两个就可以 d:\\phpstudy\\WWW>composer config -g repo.packagist composer https://packagist.phpcomposer.com d:\\phpstudy\\WWW>composer create-project laravel/laravel 参考 [https://cloud.tencent.com/info/d00fcb7279f4b5d407fa99b91d131db1.html][https_cloud.tencent.com_info_d00fcb7279f4b5d407fa99b91d131db1.html] [https://blog.csdn.net/qq\_38802291/article/details/78090764][https_blog.csdn.net_qq_38802291_article_details_78090764] [https_cloud.tencent.com_info_d00fcb7279f4b5d407fa99b91d131db1.html]: https://cloud.tencent.com/info/d00fcb7279f4b5d407fa99b91d131db1.html [https_blog.csdn.net_qq_38802291_article_details_78090764]: https://blog.csdn.net/qq_38802291/article/details/78090764
还没有评论,来说两句吧...