31st Aug 2021 • David Carr Get the last day of the month from a date To get the last day of the month use date('t') Read more
27th Aug 2021 • David Carr Run tests on commit Run your tests every time you commit changes. Read more
27th May 2021 • David Carr Integrate Laravel with Xero I've created a video showing how to integrate Laravel with Xero using my Laravel Xero package Read more
27th Apr 2021 • David Carr Laravel Livewire testing download Testing Laravel Livewire downloads an expected download by comparing the download name with a respon... Read more
13th Mar 2021 • David Carr Import SweetAlert2 into Laravel with NPM SweetAlert2 is a great package for user-friendly alerts, normally I install by adding in script tags... Read more
30th Dec 2020 • David Carr Login with Microsoft Graph In this post, I'll explain the process of using Microsoft Graph as a login process to allow user... Read more
8th Jul 2020 • David Carr ASCII to Binary in PHP Recently I inherited a project where all file attachments were stored in a database table in the for... Read more
20th May 2020 • David Carr Reversing and Re-ordering ol items in HTML I've just learned you can alter HTML ol items. You can reserver the order and change the startin... Read more
13th May 2020 • David Carr MySQL 8 The server requested authentication method unknown to the client Solution for MySQL 8 using unknown authentication method. Read more
10th Apr 2020 • David Carr Writing to an existing PDF with FPDI FPDI allows existing PDF's to be used as a template for a new PDF. Read more
10th Apr 2020 • David Carr Easily assign variable when using explode in PHP I use explode all the time, for splitting strings into parts, there is a cleaner way...... Read more
12th Mar 2020 • David Carr Latitude and Longitude with Google Maps Google Maps allows using its service to get map coordinates.... Read more
2nd Mar 2020 • David Carr Laravel Merge PDFs Ever needed to merge multiple PDF's together? It's a common need. In this tutorial, I'll... Read more
29th Feb 2020 • David Carr Laravel API change unauthenticated message When making API calls to Laravel when a user who is not authenticated makes a call a 401 status... Read more
29th Feb 2020 • David Carr Laravel returns 302 for unauthenticated calls I've started to secure API calls with Laravel Airlock, when calling a route that's been secu... Read more