I am new to develop in php using Netbeans IDE. I use NetBeans 8.0 version. I want to develop a project using Codeigniter framework. But still I was unable to find a way to start a project with Codeigniter template.
When I'm creating a new project, Netbeans ask me to use number of php frameworks such as Symfony, Nette2, Zend2, Doctrine & etc. But there are no anything as Codeigniter.
I tried lots of solutions in stackoverflow. but some of them are for older netbeans versions and others are not working for me.
I downloaded the netbeans CI plugin from https://github.com/nbphpcouncil/nb-ci-plugin/releases
When I was try to install that plugin, NetBeans says that it needs some more plugins to be installed.
How to integrate Codeigniter framework to the NetBeans 8.0..?
Thanks in advance..
I'm using NetBeans 8.2 Patch 2 (Full IDE). I installed both NBM files from the link, that you paste and everything was fine. You need NetBeans with PHP support, if you not want the full IDE. So after installing the 2 nbm files, I can choose the codeigniter framework at the new PHP project wizard.
Regards
Chris
Related
So, problem is strange:
ctrl+click works only for native php methods and functions and don't :
For this example I used Laravel 5.5 + https://github.com/barryvdh/laravel-ide-helper, which should add methods of frameworks.
Autocomplite don't work even for methods of class in same file. What should I do to enable this feature?
Ubuntu 16.04
Product Version: NetBeans IDE 8.1 (Build 20151231-debian-8.1)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
I tried with Laravel, Yii2 and Zend Framework applications. What should I do to fix that?
This solution helps me:
I used a version from rep (apt-get install netbeans) and php was installed as a plugin. When I installed php-version
http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-php-linux-x86.sh
http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-php-linux-x64.sh
, everything start works correct.
I am new to PHP scripting language. Basically I am a .Net guy, worked on various web applications using MVC, Razor, ASP.NET, C#...etc. I thought this the best time to practice on PHP and planning to start work on projects using PHP.
I am trying to setup PHP development environment in my local machine.
Please guide me in the following questions.
What are the available software’s I need to install in my machine to start PHP development (SQL, IIS, PHP scrip, TFS)?
In order to create team project I want to use Team Foundation Server (TFS) within the eclipse IDE. Pease tell me someone, how to connect TFS from eclipse IDE (or) any alternate ways?
How to configure IIS to server PHP web pages? Do I need to install additional software other than eclipse?
I have done the following steps,
I downloaded Java from java.com.
I downloaded eclipse from eclipse.org then installed to my machine and pointed to default workspace(C:/users/xxxx/workspace).
Installed add-on phpeclipse to eclipse IDE. This add-on downloaded from phpeclipse.com
Open Eclipse IDE=> help=> Install New Software=> Add.
Name: [PHPEclipse]
Location: [http://phpeclipse.sourceforge.net/update/stable/1.2.x/]
Ok=> followed instruction to complete installation.
After completing the above steps, I just created a new PHP project then wrote echo statement in .php page but it prompting me below error when I run my test project
I have Eclipse Juno installed in Fedora 17 from the standard Fedora repositories.
I've added PDT from the Eclipse repository using the help->install new software interface.
However, when I go to create a new project I don't get the option to create a PHP project, only plain 'General' projects.
Why doesn't Eclipse let me create a PHP project and how can I fix this?
I closed Eclipse and deleted ~/.eclipse/*, restarted Eclipse and the PHP plugins (and others) seem to have woken up.
Still don't know what was causing it, but I'm in a place I can get work done now at least!
i just tried to enable autocomplete Zend library in my Eclipse project, following this post => Zend Framework Plugin for Eclipse PDT , looks like it worked a while yesterday, then i shotdown my computer, and this morning, the only autocomplete i could get is the PhpCore one !
I restarted my computer 3 times, i clean my project too, and nothing change, and my project and my Zend library can be seen in my PHP Include path.
I just can't figure out what's going on, if anybody have a hint, it would be really great
PS: my IDE is the Helios Service Release 2 (Eclipse for php version 1.3.2)
One of my colleagues had a very similar problem which he resolved by creating a new eclipse workspace and re-importing the project. Another possible solution would be to run the eclipse workspace cleaner (run eclipse.exe --clean). If none of these approaches work, you may wish to consider raising a defect against Zend.
I have a project that's intended to use some PHP as well as Java and Javascript, so I installed the PDT PHP plug-in for Eclipse, using the Install New Software menu option. Now Eclipse agrees PDT is installed, but no PHP features like creating or editing PHP files are appearing anywhere. Is there something else I need to do to activate PDT? (I did restart Eclipse like it said I needed to.)
Right click on your project, Configure (it's at the bottom of the list)->Add PHP Support...
After it's done, you should see a little P symbol in the project's icon.
Just create new project using the wizard, and choose PHP one. After Eclipse will know that your project is actually based on PHP, it will show you all the features.
In case if you have existing project, just open the PHP perspective.
I've once had a similar problem. Eclipse was running with the JRE 1.4, and it seems the JRE 1.5 or later is required to run the PDT. I switched to Java 1.6 and that solved the problem.
I run into this sometimes with eclipse plugins.
Have you tried uninstalling it, removing the jar and files it from eclipse/plugins and eclipse/features, then installing it again?
If you don't feel like doing that. Try installing it in a clean eclipse instance and if it works then it's just a config issue with eclipse.
You might have not installed all of the tools too.
The solution I eventually came up with was to just install Aptana Studio, a PHP IDE based on Eclipse, whose standalone version can coexist happily with the regular Eclipse on the same machine.
In order to have PHP support in eclipse project, you need to add PHPNature to the project. It's a kind of configuration paramter of eclipse project. When you craete a new PHP project using a wizard, check the .project file in a new project directory. There is a PHPNature line. Copy this line into .project of your java project.
Another solution is to separate java and php code in a different projects, each one craeted by right wizard.