Really Useful Tools For PHP Developers

PHP is one of the most widely used language for creating dynamics websites and applications. PHP frameworks like Zend, CakePHP, CodeIgniter, etc and open source PHP classes & libraries have made our lives significantly easy.

Whether you are a PHP novice or an experienced developer; tools that you use have direct impact on your productivity. W3Avenue has compiled a list of really useful extensions & tools for PHP developers that will help you speed up development and significantly improve overall quality of your code.

Accelerators

  • eAccelerator
    Free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 time.
  • ionCube PHP Accelerator
    The ionCube PHP Accelerator is an easily installed PHP Zend engine extension that provides a PHP cache, and is capable of delivering a substantial acceleration of PHP scripts without requiring any script changes, loss of dynamic content, or other application compromises.

Build System

  • Phing
    A project build system based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP “task” classes make it an easy-to-use and highly flexible build framework. Features include running PHPUnit and SimpleTest unit tests, file transformations, file system operations, interactive build support, SQL execution, CVS/SVN operations, tools for creating PEAR packages, and much more.

Code

  • BeautifyPHP
    Beautify PHP is a completely free service that allows visitors to properly format their PHP code according to PEAR standards.
  • PHP Beautifier
    This program reformat and beautify PHP 4 and PHP 5 source code files automatically. The program is Open Source and distributed under the terms of PHP Licence. It is written in PHP 5 and has a command line tool.
  • PHP Object Generator (POG)
    an open source PHP code generator which automatically generates clean & tested Object Oriented code for your PHP4/PHP5 application. By generating PHP objects with integrated CRUD methods, POG gives you a head start in any project.
  • UML2PHP5
    UML2PHP5 is a plugin designed to fit on the Dia diagram application. It automatically generates the PHP code structure following the diagram’s classes.
  • Instant SQL Formatter
    Instant SQL Formatter is a free online SQL tidy tool. In addition to beautifying SQL code, It can translate SQL code into C#, Java, PHP, DELPHI and other program languages. It also allows you to find out all database objects such as table, column, function in SQL by selecting output format to list database object.
  • phpMyEdit
    MySQL Table Editor and PHP Code Generator. Important features offered by phpMyEdit are: table manipulation code generation; record addition, change, view, copy and removal; table paging, sorting and filtering; lookups into other tables (1:M bindings); permission configuration; multiple navigation style possibilities; output design control using CSS; logging user actions; Multilanguage support;ability to extend base class.
  • PHP Obfuscator
    Encodes and obfuscates PHP code to make the output difficult to reverse engineer. The application requires no pre-modifications to your code and no additional components on your server. This product allows for encoding of functions, variables and the removal of whitespace.
  • Code Eclipse
    A PHP obfuscator that turns normal, easy to read PHP code into gibberish; with little to no loss of speed and no loss of compatibility.

Database

  • PHP Toolkit for ADO .NET Data Services
    Enables PHP developers to access data services created using ADO .NET Data Services framework. The goal is to provide the similar functionality as .NET library to access and modify the data and its relationship using URIs which points to pieces of data integrated with the web.
  • Propel
    Propel is an Object-Relational Mapping (ORM) framework for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data.
  • ADOdb
    An object oriented library written in PHP that abstracts database operations for portability. It is modeled on Microsoft’s ADO, but has many improvements that make it unique (eg. Pivot Tables, Active Record support, generating HTML for paging recordsets with next and previous links, cached recordsets, HTML menu generation, etc). Supports large number of databases including: MySQL, PostgreSQL, Interbase, Firebird, Informix, Oracle, MS SQL, Foxpro, Access, ADO, Sybase, FrontBase, DB2, SAP DB, SQLite, Netezza, LDAP, and generic ODBC, ODBTP.
  • Doctrine
    Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

Debugging

  • Xdebug – Debugger and Profiler Tool
    The Xdebug extension helps you debug your script by providing a lot of valuable information. The debug information that Xdebug can provide includes: stack traces and function traces in error messages, memory allocation and protection for infinite recursions. Xdebug also provides: profiling information for PHP scripts, code coverage analysis, capabilities to debug your scripts interactively with a debug client. You should also check: Webgrind – Xdebug Profiling Web Frontend in PHP, MacGDBp – Mac OS X application that remotely debug their running PHP applications powered by Xdebug.
  • FirePHP
    FirePHP is ideally suited for AJAX development where clean JSON and XML responses are required. FirePHP enables you to log to your Firebug Console using a simple PHP method call. All data is sent via response headers and will not interfere with the content on your page.
  • DBG – PHP Debugger and Profiler
    DBG is a a full-featured PHP debugger, an interactive tool that helps you debugging php scripts. It works on a production and/or development WEB server and allows you debug your scripts locally or remotely, from an IDE or console.
  • PHP Debug
    Provides assistance in debugging PHP code, by program trace, variables display, process time, included files, queries executed, watch variables… This information is gathered through the script execution and therefore are displayed at the end of the script (in a nice floating div or a html table) so that it can be read and used at any moment.
  • More: Debuglib, Krumo

Development

  • PHP CodeSniffer
    PHP CodeSniffer is a PHP5 script that tokenizes and “sniffs” PHP code to detect violations of a defined set of coding standards. It is an essential development tool that ensures that your code remains clean and consistent. It can even help prevent some common semantic errors made by developers.
  • phpDocumentor
    Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. phpDocumentor has support for linking between documentation, incorporating user level documents like tutorials and creation of highlighted source code with cross referencing to PHP general documentation.
  • PHP Depend
    PHP Depend is software analyzer and metric tool which aims to provide many useful information about a specified PHP project. PHP Depend can generate a large set of software metrics from a given code base, these values can be used to measure the quality of a software project and they help to identify that parts of an application where a refactoring should be applied.
  • phpLangEditor
    A Firefox add-on that will allow you to easily translate language files and variables in your PHP scripts.

IDE & Editors

  • Aptana PHP Development Environment
    Aptana PHP is the robust, free, open source IDE for PHP featuring everything you need to get started fast and get even faster with developing, testing, tuning, and deploying your PHP apps. From pre-installed PHP servers, code assist, code templates, code generation, debugging, refactoring, Smarty editor, database tools and more, Aptana PHP gives you the end-to-end tools you need for PHP plus all the rest that Aptana Studio has to offer.
  • PHPEclipse
    PHPEclipse runs on all the major OS platforms and has the following features: Syntax Coloring, Brackets Matching, Code folding, Code Completion, PHP Manual integration, Code templates, XDebug support, DBG Support, CVS & SVN++ support.
  • Zend Studio
    A professional-grade development environment that includes PHP code editing, debugging, profiling, unit testing, diagnostics and more.
  • PHPanywhere
    A web based free Integrated Development Environment for the PHP language, in other words it is an application that gives developers all the code editing capabilities they need to develop PHP applications online. It includes a real-time syntax code editor with support for all web formats and a powerful FTP editor.
  • VS.Php For Visual Studio
    VS.Php is a PHP integrated development environment based on Visual Studio 2008. With VS.Php you can design, develop, debug and deploy PHP applications within the Visual Studio IDE.
  • More: NetBeans, PhpED, PHPEdit, phpDesigner, TextMate, Komodo IDE

Security

  • PHP Intrusion Detection System (PHPIDS)
    A simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application. The IDS neither strips, sanitizes nor filters any malicious input, it simply recognizes when an attacker tries to break your site and reacts in exactly the way you want it to. Currently the PHPIDS detects all sorts of XSS, SQL Injection, header injection, directory traversal, RFE/LFI, DoS and LDAP attacks. Based on a set of approved and heavily tested filter rules any attack is given a numerical impact rating which makes it easy to decide what kind of action should follow the hacking attempt. This could range from simple logging to sending out an emergency mail to the development team, displaying a warning message for the attacker or even ending the user’s session.
  • PhpSecInfo
    PhpSecInfo provides an equivalent to the phpinfo() function that reports security information about the PHP environment, and offers suggestions for improvement. It is not a replacement for secure development techniques, and does not do any kind of code or app auditing, but can be a useful tool in a multilayered security approach.

Setup

  • PHPConfig
    A graphical frontend to PHP’s php.ini file, where all of the configuration of PHP takes place. The end result is that you can spend more time on your PHP code and less on tweaking ini file. It supports all of the standard PHP functionality, and has a special tab to handle any 3rd party plugins.
  • Lighty2Go
    Lighty2Go is a, portable LightTPD, MySQL & PHP (LiMP) stack on a stick for Windows. Take it with you on your USB thumdrive and have some fun.
  • PAMP
    Personal AMP – Apache, MySQL and PHP – stack for the S60 mobile phone.
  • WampServer
    Allows you to setup Apache, PHP and the MySQL database on Windows. It also comes with PHPMyAdmin to easily manage your databases. WampServer allows you to add as many Apache, MySQL and PHP releases as you want.
  • Server2Go
    A Webserver that runs out of the box without any installation and on write protected media. This means that web applications based on Server2Go can be used directly from CD ROM, a USB stick or from any folder on a hard disk without the hassle of configuring Apache, PHP or MySQL.

Testing

  • PHPUnit
    PHPUnit is a member of the  xUnit family of testing frameworks and provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyze their results.
  • SimpleTest
    SimpleTest is is similar to JUnit/PHPUnit. It supports mock objects and can be used to automate the regression testing of web applications with a scriptable HTTP Client that can parse HTML pages and simulate things like clicking on links and submitting forms.
  • vfsStream
    vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.

Continuous Integration

  • phpUnderControl
    phpUnderControl is an addon application for the continuous integration tool CruiseControl, which integrates some of the best PHP development tools. This project aims to make your first steps with CruiseControl and PHP as easy as possible. Therefore phpUnderControl comes with a command line tool that performs all modifications to an existing CruiseControl installation.

Cheet Sheets

  • PHP Cheat Sheet From AddedBytes
    The PHP cheat sheet is a one-page reference sheet, listing date format arguments, regular expression syntax and common functions.
  • PHP 5 Online Cheat Sheet
    Covering Type: Boolean, Integer, String, Array, Object/Class; String: functions, conversion; Array: functions, conversion;  Class: definition, member declaration, member visibility; Date/Time: functions, formats; Predefined Variables: $_SERVER$_FILES
  • The CheatSheet – CakePHP 1.2
    Includes quick reference to CakePHP Config variables, Global Functions, Conventions, Paths and index.php file. It also provides reference for Properties, Methods & Callback functions for Models, View, Controller and Helper classes.
  • PHP $_SERVER Superglobal on Apache & IIS
    A table of keys that are defined in PHP’s $_SERVER superglobal array running on Apache and IIS servers. The purpose of this table is to allow PHP developers an insight of what to expect if they must migrate from one platform to another.
  • Smarty Cheat Sheet
    Anyone still interested in Smarty can use this cheat sheet. Contains quick tips and reference for Smarty template designers.
  • CodeIgniter Quick Reference Cheat Sheet
    Available in PDF & PNG format; Codeigniter cheat sheet contains library functions with parameters, helpers functions & CodeIgniter reserved names etc.

Please feel free to suggest any addition, correction or updates in your comments. You may also want to look at:

Stay Updated

If you found this post useful, consider subscribing to our RSS Feed! You can also stay updated by following us on Twitter and Facebook or by subscribing to our FriendFeed.

Bookmark / Share

Bookmark and Share

Read More

SIMILAR/RELATED POSTS:

PREVIOUS POST:

NEXT POST:

Reader Comments

33 Responses to “Really Useful Tools For PHP Developers”
  1. Excellent list of tools. I’ve tried Doctrine and found it huge and overly complex. I carry xampp around on my flash drive and I have it sync with the xampp folder I have on my development machine.
    I use http://www.phpformatter.com/ as my PHP formatter because I can paste code in directly instead of uploading it.

  2. Great list, thanks for putting together. At what stage might you need to start using a code accelerator, or is it something that should be done anyway regardless of complexity?

    • Frank says:

      If you got a website that has a lot of traffic then you might consider an accelerator. Not if you got a small website (you won’t notice much difference) or at your development environment.

  3. Ben says:

    Nice list, I love PHP Beautifier

  4. @eveevans says:

    I use netbens for php and it’s very good,
    I think you can list it in IDE & Editors

  5. Matthias says:

    Thank you for this list. Makes work easier sometimes :)

  6. I have bookmarked this, thanks

  7. AbhiTechBlog says:

    Awesome article. Liked everything!

  8. lossy says:

    Nice list.

    People interested in object relational mapper should take a look at xPDO.
    It allows PDO with php4 too.

    Project here:
    http://www.xpdo.org/

    Documentation here:
    http://svn.modxcms.com/docs/display/XPDO10/Home

  9. yogeshwran says:

    Thank you for this list. Makes work easier sometimes :)

  10. jens says:

    Great list!

    I am missing cruisecontrol/phpUnderControl :)

  11. Maltek web says:

    Great list, you may want to add FireDB, a php based web application builder that doesnt require to write any code.

  12. designfellow says:

    Hi,

    You forgot to include my CodeIgniter Cheat Sheet :-)

    Find it here… http://is.gd/2RvoO

  13. Lydia says:

    Hi, Nice list.
    Perhaps you can give Netbeans more info, cause it is becoming a really nice editor for php!

    “Anyone still interested in Smarty ….”
    Uh…? Do you suggest smarty to be outdated? Strange…

  14. Eric says:

    As far as PHP accelerators, you forgot the best one (: APC! http://pecl.php.net/APC

  15. Roger says:

    You should seriously consider to include NetBeans for PHP in the top of the list.

  16. Joris says:

    Nice tips!
    Thanks -)

  17. kodegeek says:

    A great and long post, like it.

  18. Blaze Boy says:

    i have made the PHP website kernel named vunsy http://vunsy.wordpress.com
    i need you guys to have a look and tell me how to improve it with the tools above

  19. Satya says:

    good list. If you have suggested editors linux and window wise then it could be useful. I am looking for free editor for linux (ubuntu) with search in files and other facilities.

  20. We just added ability to directly paste code on Beautify PHP, just click on little clipboard icon on top right corner of the center box.

    Thanks for suggesting our web site!

  21. Harsha M V says:

    amazing list :D thanx a lot

  22. Hari K T says:

    Great list . Really helpful to every PHP developers and those who are new to PHP and webdevelopment .
    Keep gng.

  23. Jef says:

    Great list, thanks!

  24. AaZmaN says:

    Very nice list for web development

  25. Onore says:

    Thanks for post.
    Not enough Codegenerators, such CodeCharge, PHPMakes

  26. nev says:

    total list that’s cool thanks boys

  27. dst says:

    Hi there,Possibly this is the site to answer this question: is it possible to call asp.net or vb.net classes in php ? Or will there ever be a php.net implementation?

  28. To all PHP developers who works with ORM frameworks (Doctrine, Doctrine2, Propel, CakePhp) there is a tool for visual designing of the ORM application model (with import/export feature). Although this tool is relatively new, it has been already very useful for me.

  29. Great set of tips. Thanks for sharing.

  30. Stas says:

    I suggest to add Codelobster PHP Edition (http://www.codelobster.com)
    It if very good free PHP IDE that supports all popular frameworks.

Leave Comment

 
 

Stay Updated, Subscribe to RSS Feed

 
 
 
 

Blogroll

 

Sponsored Links

  • List MLS Multiple Listing Service
  • BlueHost coupon