ImThumb Beta

An advanced HTTP image generation script, based on ImageMagick. TimThumb-compatible API.

I originally wrote this because I was attempting to optimise the quality of TimThumb generated images, and realised that the lower quality images actually had larger filesizes than the higher quality ones. I ended up digging in a bit and came to the conclusion that some of GD's internals, as well as the way TimThumb uses it, were responsible. Rather than attempt to patch a very old and neglected library and fight against GD, I decided to reimplement the same functionality on top of ImageMagick.

  • Drop-in replacement, uses the same configuration files as TimThumb does.
  • Self-contained class files and structured image handling API for direct integration with other applications and scripts.


Theme Domain Mapping Final

Display alternate themes when your site is accessed via different domains.

A Wordpress plugin for mapping themes to different domain names, so that your site can appear differently when accessed via different hosts.

Works perfectly with normal installs out of the box; with multisite you must also add any required domains to the wp_domain_mapping table.

Trusted MU Editors Final

Enable posting of unfiltered HTML in a Multisite environment, configurable on a per-role basis.

This plugin allows blog administrators in a Multisite environment to specify user roles which are allowed to create posts with unfiltered HTML. These users will be able to make posts containing <iframe>, <embed> etc without that content being stripped by Multisite's sanitisation rules.

The plugin can either be used globally for your entire network, or it can be applied on a blog-by-blog basis. Regular WordPress already allows this feature and does not need this plugin. (more)

JS Mobile Theme Switcher Beta

Browser-level device detection and theme switching. Compatible with all caching layers.

A JavaScript-based mobile theme switcher plugin for Wordpress, brought to you by Map Creative.

The chief purpose of this plugin is to allow functionality similar to Device Theme Switcher, but without requiring the use of any serverside logic. This allows the plugin to function where others would fail, i.e. in server setups with complex caching mechanisms sitting in front of Wordpress like a Varnish layer or WPEngine's EverCache.

A selectable state persistence mechanism also features, to allow for mobile theme state to be passed by URL or other methods for greater compatibility with complicated caching layers (more)

Admin Disabler Final

Configure access to the admin backend on a per-role basis.

A very simple Wordpress plugin that allows you to disallow access to the admin backend on a per-role basis. Mainly you would use it to prevent subscribers from being able to get into their backend 'edit profile' screens.

FormIO Beta

A powerful and extensible form building & validation library

When it was originally written in 2010, FormIO's pretty basic requirement was to abstract and simplify the process of creating simple webforms for use on public websites. Since then considerable additions and advancements have been made and happily the library's architecture has allowed all this to happen without any breaking changes to the backend or frontend APIs.

Including builtin client and serverside validation for just about any kind of normal data, as well as mechanisms for linking fields, repeating inputs and grouping sets of related data into complex objects; in the several production deployments it has had since its first development there has never been a requirement it could not meet easily.

In terms of extensibility, the OO form field API allows creation of entirely custom form fields with their own layout, frontend behaviours and frontend/backend validation. You can find a class hierarchy of the builtin implementations on the project github page, as well as source code to the embedded example which serves as a guide on using the framework and implementing these features. (more)

GrepStrap Final

A simple yet powerful web frontend for the linux 'find' and 'grep' commands

Handy for use on development servers, staging environments and so on. Always upload into a secure directory as this script (goes without saying) allows low-level access to your system!

Features include:

  • Recursive text / regex search within server directories
  • Simplified file and directory include & exclude patterns
  • Result bookmarking and search match bookmarking (useful for passing grep output around the office)
  • Editor integration of matches down to a file or line-by-line level (depending on your editor)
  • Path translation (server > local etc)
  • Tab completion
  • Remembers your preferences via cookies

PHP Feature Check Final

Dependency management for easily deploying PHP applications

Managing dependencies in your PHP projects can be a real nightmare. The language depends on so many underlying system libraries and kernel features that in reality, PHP is almost more Linux and Apache than it is its own language. If you've ever worked in an environment where you need to deploy websites to multiple clients on various assorted hosting, you know how painful this
can be.

Enter PHPFeatureCheck - a utility which can run on almost any platform (really, any configuration of PHP so long as it's not running in safe mode) that allows you to create non-intrusive feature detection files as *.INI's which you can then run a script against to check that your application will work. (more)

pWebFramework Beta

A low-level and extremely lightweight web application framework for rapid development

pWebFramework is a small group of classes for handling common low-level web application tasks. This general-purpose platform provides a compact and robust baseline to start implementing projects of your own.

pWebFramework's main design goals are loose coupling and a light code footprint. Classes provide low-level but syntax-light interfaces to common areas of function, and can all be subclassed with additional functionality of your own. (more)

pDebug Beta

A lightweight, powerful and robust debugging platform for PHP5

pDebug is one of those curiosities that you never bother polishing, I guess. It's called pDebug because I couldn't just call it Debug and I never bothered thinking of another name. It doesn't have JSON implemented because simply flicking it to text output mode made debugging JSON responses trivial anyway. It doesn't implement reflection because at the time reflection was horribly expensive and it doesn't really require it anyway. It's that kind of project.

But hey, it still does a hell of a lot and is kindof a pretty cool thing. I actually still use it, because it works on basically anything that can show a webpage and certainly anything that can print text. It works with any remotely modern installation of PHP because I made it originally on PHP 5.0.0. In fact I still have it in my php.ini's auto_prepend_file. The interface is snappy enough and gets mucked up by other page CSS (more)