Joe Lennon

Laravel Tests, SQLite and “no such column” errors

I ran into a frustrating issue today while trying to run PHPUnit tests on a Laravel project I’m working on. Essentially, I was getting PDOException messages saying things like no such column. Looking through the stack trace, the issue seemed to have something to do with the Illu...

Tags: php, laravel, sqlite, testing, migrations

Using Laravel 5.4 Request Sanitization Middleware

One of the new features introduced in Laravel 5.4 is a pair of middleware for sanitising data in requests. These middleware are: TrimStrings ConvertEmptyStringsToNull Both of these middleware are very useful. TrimStrings will trim whitespace surrounding any request input values...

Tags: laravel, sanitization, middleware

Using BootForms with Laravel 5.4

Adam Wathan’s BootForms makes it painless to work with Bootstrap forms in your Laravel Blade templates. If you’ve been using BootForms and just upgraded to Laravel 5.4, you might have run into some issues with your views. There’s an open pull request which fixes this issue, so ho...

Tags: php, laravel, bootforms, blade

The real value gap in the music business

2015 was a landmark year for the music business. Global music revenues up 3.2%, the first increase in well over a decade. Digital sales surpassed physical sales for the first time in history. Streaming now accounts for 43% of digital music revenue. 900 million people used ad-su...

Tags: music, streaming, music business

Startup Founder Required

ABC Startup Company is looking for an experienced founder to lead their company’s initial growth and development, driving our success through to achieving a minimum of US$1 billion in annual revenue within five years. The successful candidate will (in no particular order): Have...

Tags: entrepreneurship, startup, founder