We can do PHP programming by any text editor, such as vi and nano. However, a Integrated Development Environment (IDE) is good for debugging.
Read how to set it all up here
For IDE, I choose EasyEclipse for LAMP and it is not required to install. Download it and double click it to run. However, we should install some server programs and do some configuration before using it.