Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup eclipse ide for php development with pre-existing source

Tags:

php

eclipse

ide

I have been using Dreamweaver for my web development and would like to try out eclipse. I would like to keep the source files where they are now. What do I need to set for my workspace and then how do I set it to look at my existing files?

like image 669
Mike Avatar asked May 08 '10 15:05

Mike


People also ask

Can we create PHP project in Eclipse?

In PHP Explorer view, select the Project within which you would like to place the file. Right-click and select New | PHP File -or- go to File on the Menu Bar and select New | PHP File. The PHP File creation dialog will be displayed. Enter the name of the file and click Next.

Is Eclipse good for PHP?

A: Eclipse for PHP works really great with CodeIgniter. Netbeans is another good IDE, and Sublime is a good code editor for CodeIgniter.


1 Answers

You'll want to set up a workspace in the parent directory of the folder containing that project. Then, you'll create a new PHP project in Eclipse with the same name as the folder containing that project. That should get you going!

For example say you have a folder called Development. Inside that you have a folder called MyProject which contains all the subdirectories and code for your PHP project. On startup you'll select Development for your workspace and then create a PHP project called MyProject.

like image 154
Brent Parker Avatar answered Sep 29 '22 10:09

Brent Parker