Convert the Laravel Spark invoice email to a Mail Notification email

Recently when customizing the invoice email template for Laravel Spark I noticed that it didn’t have any styles applied (raw HTML emails are a bit 1999). Given how good the new Mail Notifications look in Laravel…


jQuery Infiniscroll Plugin

Last week, after doing some work trying to implement infinite-scroll functionality into a new Dunked template, I was surprised to find that there was a lack of decent “infinite-scroll” jQuery plugins. The main one (https://github.com/paulirish/infinite-scroll by Paul Irish) is…


Getting Started with WordPress Plugin Development

This past weekend I gave my first ever conference talk at WordUp Inverness. It was a great event and although the audience was small it was a great experience and my talk seemed to be fairly well received. Below are my slides and a list of…


Testing defines in PHPUnit

This one tripped me up recently. Say you are wanting to test a bit of code using PHPunit that relies on a defined constant. You don’t want the define() to affect your other tests, you only want it to apply for this specific test. Something like this:

Gilbert Pellegrom’s Blog
Gilbert Pellegrom’s Blog
Software Engineer and Web Developer from Scotland
More information
Followers
64
Elsewhere