The PHP Code Dreamweaver extension helps you write faster and with no typo!
Quickly insert control structures (if statement, etc.) and your custom PHP variables: no more typos!
The free PHP Code extension for Dreamweaver helps to speed up code writing in two ways (in code mode):
- it inserts the chosen control structure (if statement, etc.);
- it inserts the PHP variable chosen in the list of all variables found in the current document.
And best of all, it's free!
How to use it
- In code mode and on a PHP page, right click on the page, where you want to insert code.
- PHP Code adds two new commands to the context menu that appears, namely Insert PHP Code and Insert PHP Variable:
- Insert PHP Code allows you to quickly add control structures (if, else, switch, etc., statements) and moves the cursor straight where you need to write code. You can also add a server-side include, which allows you to chose between “require”, “include”, “require_once” or “include_once”.
When adding the chosen control structure, PHP Code computes indentation.
- Insert PHP Variable looks for any PHP variable on the page and allows you to insert the one you click upon in the list. No more typos!
Requirements
Dreamweaver 8, CS3, CS4. Support for CS5 is coming soon.... Should also work on Dreamweaver MX 2004, although it has not been tested on that version.