MIKESTOWE.COM

you are here

Scripts

RAML Merge

RAML Merge is a command line PHP script used to merge all RAML !includes into a single file for distribution or testing with services such as Postman. To merge files with the command line (PHP must be installed) simply run the script with a source file argument, like so: Remember to use the full path […]

RAML 2 HTML

RAML 2 HTML for PHP is a lightweight, easy to configure, and easy to customize script to build extensive, multi-page API documentation from a RAML (RESTful API Modeling Language) file. RAML 2 HTML also takes advantage of APC (if enabled in config) to reduce rendering time (especially of remote RAML files). RAML 2 HTML for […]

ressf

What is ressf ressf is a RESS (Responsive Design + Server Side) framework designed to allow content templating according to the user’s device. This allows for content to be adjusted as necessary based on the device accessing the page, without having to have a separate body of content to maintain. ressf is still very much […]

DB::DBAL

DB::DBAL has been moved to http://dbal.mikestowe.com. DB::DBAL is a lightweight Database Abstraction Layer that is designed to allow for multiple database types and connections simultaneously. DB::DBAL provides ease of use of use through query chaining, security via automatic where clause escaping, as well as code reusability through the ability to add universal events for table […]

Form Builder

To be perfectly honest, this is a class I built awhile ago (back in November of 2010), so going from memory here. But basically, Form Builder allows you to setup a databased/ emailed form quickly and easily, in just a few lines of code. For example, to build and process a form that contains 8 […]

smrtClass

smrtClass is a restrictive data type class based on PHP’s stdClass. Instead of allowing the free creation and setting of properties as the stdClass does, smrtClass requires properties to be setup first with a specific type or regex requirement. Data is then checked against this requirement when the property is modified, and if inconsistent with […]

PHP Malicious Code Scanner

OS Commerce, WordPress, Joomla, Drupal, and custom built sites have all been hacked by the “wonderful” <?php @eval(base64_decode($_GET[q])); ?> hack.  By slyly uploading a single php file to your server, these hackers gain the ability to push any code, view any source, and retrieve any data.  And unfortunately, as hard as we try to prevent […]

phpScanner – 1.3

What is phpScanner You’ve just finished building a large php based site, and the client wants some changes made. So sure enough, you make the changes and push them live, only to get a call from the client about some pages not working. Sure enough, that little change you made messed up some obscure, buried […]

HTMLe Plugin Engine

What is HTMLe You’ve just built a WordPress website for your client, or provided them with a custom CMS and then they say… “we want to add a feed on this page to cnn.com, and a feed on this page to yahoo.com.”  Or they say, “wow, this is great, but can we add our twitter […]