Lately I’ve been doing some development using CodeIgniter (a very popular PHP framework), and I was wondering, how to get CodeIgniter support in NetBeans. So anyway, I’ve found a NetBeans plugin under the Project Kenai
This plugin will allow you to create CodeIgniter projects right from NetBeans’ Create New PHP Project Wizard, also it’ll provide full auto-completion while you’re coding.
In this post I’ll explain how to get this plugin to work. First you should make sure that you have at least NetBeans 7.0 installed on your machine. NetBeans 7.1 and 7.2 are also supported. Also go ahead and download the latest version of CodeIgniter.
1. From NetBeans go to Tools menu, then choose Plugins, and then select the Settings tab.
2. Click on the Add button on the window appeared from the last step.
3. Type any name you find appropriate, and for the URL paste one of these links depending on your NetBeans version, and click Ok.
- For NetBeans 7.0.1 use https://kenai.com/downloads/nbphpci/Latest_NetBeans701/updates.xml
- For NetBeans 7.1.1 use https://kenai.com/downloads/nbphpci/Latest_NetBeans711/updates.xml
- For NetBeans 7.1.2 use https://kenai.com/downloads/nbphpci/Latest_NetBeans712/updates.xml
- For NetBeans 7.2.0 use https://kenai.com/downloads/nbphpci/Latest_NetBeans720/updates.xml
4. Go to the Available Plugins tab, and search for CodeIgniter, two plugins should appear (Framework and Framework Repository), check both of them and click Install.
5. Go to Tools menu, and choose Settings. Then go to PHP tab. You should find a new tab for CodeIgniter, switch to it.
6. Under Base Files click Add type an appropriate name in the name field, and browse to the CodeIgniter’s zip file you downloaded earlier. Finally hit the Ok button.
7. Now restart NetBeans, and once it’s restarted try to create a new PHP project via the File menu.
8. Go through the few steps of creating a new project, and at the final step underPHP Frameworks you should find CodeIgniter there, check it and hit Finish.
There you have it! You can now start coding with CodeIgniter like a ninja!
Click here to read more on our blog.
if anyone fail to get http:// links use https://kenai.com* for CI plugins
So what is the plugin for Netbeans 7.2.1 ?
How can i find it?
http://forums.netbeans.org/topic50703.html – try this if you have problems with php interpreter on the 8th step, i used Codeigniter 2.1.3 and netbeans 7.2.0 ….. netbean 7.2.1 didn’t work for me
Set path to PHP interpreter in the “Options” dialogue: PHP -> General-> PHP 5 Interpreter
I am using NetBeans 7 with CodeIgniter but unfortunately I am not getting auto completion, don’t understand what might be the reason behind this.
You might need to check the version compatibility.
Hi, Muhammad.
I followed all steps and couldn’t see the 4th step in creating a new project.
I’m working on a project built on CI 2.1.0, so the zip I added in Settings -> PHP -> Codeigniter is “CodeIgniter V 2.0.1″, which I”ve downloaded from here: http://codeigniter.com/downloads/.
Is this what you mean by “download the latest vresion of Codeigniter”?
Thank you.
Which version of NetBeans are you using? I tried this with CI v2.1.0.
Reblogged this on Sutoprise Avenue, A SutoCom Source.