Cascading soft deletes with Laravel and Eloquent

May 3rd, 2016

If you've ever found yourself wondering how to implement cascading soft deletes with Laravel and Eloquent, I may have a solution for you.

Communicating between components in VueJS

March 5th, 2016

If you've ever been in the situation where you need to have components be aware of each other's state, Vue's custom event interface may be what you're after.

Should I use v-show or v-if?

February 22nd, 2016

I discovered the other day how to easily figure out when to use v-show and when to use v-if (hint: it's in the docs)

Automatically fixing code styles before you commit your code

February 14th, 2016

Working on ConFOMO, and to make life easier, my first step was to come up with a set of rules for PHP CS Fixer and enforcing them on each commit.

Dead simple domain mapping in Laravel Homestead

February 13th, 2016

The entire process is pretty simple now, but what if I told you it could be even simpler?

Integration testing controller authorisation in Laravel

February 11th, 2016

Testing controller authorisation in Laravel, I stumbled across an issue due to exception handling. The fix was simple enough, though tricky to track down.

Updating FusionInvoice 2016 with ease

February 7th, 2016

With the release of the latest version of Fusion Invoice, updating the application has become really simple.

Testing multiple dependency versions with Travis CI

January 28th, 2016

Have you ever wanted to ensure package compatibility with multiple versions of a dependency but not sure how? It's easier than you think!

SSL with Let's Encrypt on Laravel Forge

November 6th, 2015

I recently received my beta invite for Let's Encrypt, and set about getting my SSL certificate setup on my Forge-provisioned server.

Cleaning array values with ease

October 26th, 2015

I often find myself working with arrays that may have empty values in them. I've put together a small function to tidy them up.