如何使用 Eclipse 为 PHP Developer 创建 Laravel 项目
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/35619775/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create laravel project using eclipse for PHP Developer
提问by Mandy
I have been assigned a task to create project using laravel 5 framework in Eclipse for PHP Developer.
我被分配了一个任务,在 Eclipse for PHP Developer 中使用 laravel 5 框架创建项目。
Effort
努力
I have downloaded eclipse for php developer and I have also installed Compser plugin from http://p2-dev.pdt-extensions.org/. But when i tried to create project from existing eclipse suddenly close.
我已经为 php 开发人员下载了 eclipse,并且我还从http://p2-dev.pdt-extensions.org/安装了 Compser 插件。但是当我试图从现有的日食创建项目时突然关闭。
I have also tried eclipse composer plugin but I did not get success.
我也尝试过 eclipse composer 插件,但没有成功。
I am not able to create laravel project in eclipse. I have to use composer to maintain dependencies. Please suggest me how to do it.
我无法在 Eclipse 中创建 Laravel 项目。我必须使用作曲家来维护依赖项。请建议我怎么做。
I am using eclipse mars 1 for php developer.
我正在为 php 开发人员使用 eclipse mars 1。
回答by quangkid
Duplicate question, answer here : Create new PHP project in Eclipse (existing sources)
重复问题,请在此处回答: 在 Eclipse 中创建新的 PHP 项目(现有源)
Using PDT Eclipse (or install PHP Eclipse plugin) :
使用 PDT Eclipse(或安装 PHP Eclipse 插件):
- File -> New -> PHP Project ...
- In Content box, check Create project at existing location (from existing source)
- 文件 -> 新建 -> PHP 项目 ...
- 在内容框中,选中在现有位置创建项目(来自现有源)
回答by Yann de Champlain E-SOFT
Install the Remote Server Plugin, less troubles.
安装Remote Server Plugin,少麻烦。