Create new PHP project in Eclipse (existing sources)
18,025
Solution 1
There is no direct way to do that, at least with standard install of Eclipse PHP
You would usually use "File > Import..." or "File > New Project > PHP Project..." menus for that, but I have never seen this option anywhere in Eclipse.
So this is one of three solutions :
- get a local copy of the php code
- import from source repository (e.g SVN, CVS, Git). (you do use one of these for your project, do you ?)
- switch to another IDE, NetBeans, which support "PHP Application from Remote Server", while being lighter IMHO.
Solution 2
It depends on the type of source control software. You can install git, svn or cvs modules. The steps to take are:
- Install module for git, svn or cvs
- Create new {git|svn|cvs} project, enter the server information
- Then it takes you to what kind of project to create, so create a PHP project. (This assumes that there isn't an eclipse project already submitted to version control.)
Comments
-
Rooneyl almost 2 years
I have a PHP project sat on a remote server.
Can I create a new project in Eclipse by downloading the sources from the remote server.
If so, some instructions on how to do so please.
-
Rooneyl over 12 yearsThanks for your answer, some projects don't use SVN. I normally use Netbeans, but also do a bit of Android and LUA/Corona so just wanted to try and keep everything 'under one roof'