Laravel 5.2 is already good at sanitizing input data received from GET and POST data, but it doesn’t remove excessive spacing at the beginning or end of the data. Luckily, this is easy to achieve using Custom Middleware.
Ever needed to copy a remote database into a local environment to run tests on? This tutorial includes a bash command line script you can use to easily replicate a remote MySQL database to another environment.
Recently, I had to create a Laravel Artisan script that would log into a SFTP server, check if a certain file exists, and then upload / override the file. To achieve this, I used the SSH library from LaravelCollective. This tutorial covers how to log into a remote server using SSH / SFTP and upload or download files.
I’ve already covered release signing Android application in Cordova in a previous article, but sometimes you want to do the same for debug builds. By default, Cordova uses it’s own debug keystore, but it’s easy to customise your project to use a keystore of your choice when creating debug builds.
In a recent project, I was asked to create a dynamically generated PDF with the user’s information. In my research, I found that using FPDF was the best the best way to achieve the client’s requirements. Here is a quick tutorial on how you can use a existing PDF with dynamic content using only PHP.
The Cage Cricket application is my first cross-platform mobile application built using Trigger.io and Parse, and works on iOS and Android.
For Halloween, I helped wonga.com reskin an old app they had originally developed with a third-party agency. The app used Adobe Flash as the main user interface, with a PHP / MySQL backend.