Static code analysis

| May 22, 2013

Hi all, today we will show you how you can check quality of your PHP code in NetBeans 7.4. For this task, we use standard PHP tools PHP_CodeSniffer and PHP Mess Detector.

As always if NetBeans uses any external tool, verify IDE Options that everything is set correctly:

IDE Options

If (more...)

Add project dependency via Composer

| Mar 13, 2013

Hi all, NetBeans 7.3 is already out so it is a time for implementing new features for the next version of NetBeans. Today, we will have a look at the improvements in the Composer support.

 Composer is a Dependency Manager for PHP so it should be really possible to add dependencies to your PHP projects, right? Fortunately, this feature has been implemented and can be tested in the current development version of NetBeans. How it works? It is very simple, just invoke the proper action:

Add dependency

Dialog for searching and adding packages is displayed:

Dialog for Composer packages

Now, just select appropriate package, choose the (more...)