PSR-0 PSR-1 and PSR-2 Standards for PHP code: ● Standard code style ● Standard auto loaders & class conventions ● Standard logger interfaces ● Amongst others..
PHP Mess Detector Takes a given PHP source code base and look for several potential problems within that source. These problems can be things like: ● Possible bugs ● Suboptimal code ● Overcomplicated expressions ● Unused parameters, methods, properties
SCheck & Facebook PHP tools ● Catch common mistakes such as: function add_hash( $color ) { return '#'.$colour; } addhash(); // missing '_' ● Generate databases describing your code structure for analysis ● View codebases in visual tools with Google Maps style panning and zoom, and search for functions and objects
Assetic Asset management on steroids ● Handles all assets, js/css/images/less/sass/etc ● Generic filter system for compilation/compression/URL handling amongst other things ● Handles Caching & filesystem searches
Dispatch A PHP 5.3 Micro framework require('../src/dispatch.php'); config('site.router', 'index.php'); get('/users', function () { echo "listing users..."; }); // get route for index get('/index', function () { echo "hello, world!\n"; });