While upgrading an application to Laravel 11, I ran into a breaking change in Carbon 3.x that I wanted to share.
Leave a CommentTag: PHP
Explore how to use PHP’s built-in levenshtein function to calculate the closest match between an input value and an array of ‘allowed’ values, as seen in command line tools like WP-CLI or Artisan.
Leave a CommentPHPStan is a static code analysis tool. It scans your code, trying to find errors that you wouldn’t usually trigger until runtime; calling a method…
Leave a CommentToday I found a handy package to create a summary of changes made between composer update commands. Perfect for adding to commit statements or release documentation.
Leave a CommentIt’s time to look at how open source software is funded. In this post, I look at what’s happening in the PHP project.
1 CommentThank you to everyone who attended my WordPress Coding Standards & Best Practices talk at WordCamp Winnipeg 2016. Here are the slides from the presentation: [slideshare id=67533542&doc=codingbestpractices-wordcampwinnipeg-161022164910] I…
1 CommentThank you to everyone who attended my Clean Code talk at WordCamp Toronto 2016. It was a pleasure to deliver this talk to you for the…
Leave a CommentSearch and Replace. Find and Replace. Whatever you call it, we’ve all had to do it at some point or another. When it comes to…
5 Comments