Download NetBeans

NetBeans IDE Features

PHP Development

PHP development in NetBeans IDE

A dedicated PHP coding environment and complete integration with web standards, with full support for HTML5, JavaScript, and CSS3 development, as described on the HTML5 Web Development Support page.

Powerful PHP Source Code Editor

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.

 

PHP 5.4 Support

NetBeans IDE for PHP 7.3 offers a number of features specific to developing with PHP 5.4. You can set up your PHP 5.4 project to run on PHP 5.4'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 for PHP 7.3 includes minor features such as callable type hints, binary notation for integers, and Class::{expr}() invocation.

 

Web Frameworks

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.

 

Continuous Integration Support

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

 

PHP Projects

The NetBeans project offers a version of the IDE tailor-made for developing PHP web sites that comprise a variety of scripting and mark-up languages. The PHP editor is dynamically integrated with HTML, JavaScript and CSS editing features.

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.

 

Debugger

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.

See Also

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo