The NetBeans PHP editor provides code templates and code generation tools, such as "getter and setter" generation, refactoring, such as "instant rename", parameter tooltips, hints, and quick fixes, and smart code completion.
Benefit from syntactic and semantic code highlighting, pop-up documentation, code formating and folding, marking of occurrences and exit points, clever try/catch code completion, smart method parameter pre-filling, and rectangular selection.
NetBeans IDE for PHP offers a number of features specific to developing with the latest features of PHP.
For example, in support of PHP 5.4, you can set up your PHP project to run on PHP's
built-in web server. The IDE's PHP code completion supports PHP 5.4
array styles such as array dereferencing and
short array syntax.
NetBeans IDE also recognizes Traits and anonymous object variables (also called "fluent instantiation"). Finally, NetBeans IDE includes minor features such as callable type hints, binary notation for integers, and
NetBeans IDE supports the following popular web frameworks:
Create new PHP projects with these frameworks, run framework commands, navigate from controllers (actions) to views, use framework annotations and code completion in the editor, and customize settings.
NetBeans IDE for PHP has support for continuous integration. Continuous integration is a software development practice involving version control and a specialized server. The specialized server runs scheduled PHPUnit and Code Coverage tests on the software.
Test results are associated with version control information, so that developers can identify bugs
they introduce to the software quickly and easily. The IDE uses Template for Jenkins Jobs for PHP Projects, which must be set up with the necessary plugins and tools on the integration server.
Support for PHP on Continuous Build Servers
Focus on the code and speed up code scanning by excluding individual directories in the Project properties. The NetBeans IDE fully supports iterative development, so testing PHP projects follows the classic patterns familiar to web developers.
Debug PHP code using Xdebug: You can inspect local variables, set watches, set breakpoints, and evaluate code live. Navigate to declarations, types and files using Go To shortcuts and hypertext links. Use a global PHP include path for all projects or customize it per project.
The NetBeans IDE for PHP also offers command-line debugging: The PHP program output appears in a command line display in the IDE itself and you can inspect the generated HTML without having to switch to a browser.
You can debug scripts and web pages, either locally or remotely. The NetBeans PHP debugger integration allows you to map server paths to local paths to enable remote debugging.