Posts in category: Tutorials

Run tests on commit

PHPUnit Tests Tutorials Bash

Run your tests every time you commit changes.

David Carr


Integrate Laravel with Xero

Packages Laravel Framework Tutorials Development

I've created a video showing how to integrate Laravel with Xero using my Laravel Xero package

David Carr


Laravel Livewire testing download

Tutorials Laravel Framework Laravel Livewire

Testing Laravel Livewire downloads an expected download by comparing the download name with a respon...

David Carr


Import SweetAlert2 into Laravel with NPM

Laravel Framework Javascript Tutorials

SweetAlert2 is a great package for user-friendly alerts, normally I install by adding in script tags...

David Carr


Login with Microsoft Graph

Packages Laravel Framework Tutorials

In this post, I'll explain the process of using Microsoft Graph as a login process to allow user...

David Carr


ASCII to Binary in PHP

Tutorials PHP & MySQL

Recently I inherited a project where all file attachments were stored in a database table in the for...

David Carr


Reversing and Re-ordering ol items in HTML

HTML Tutorials

I've just learned you can alter HTML ol items. You can reserver the order and change the startin...

David Carr


MySQL 8 The server requested authentication method unknown to the client

Tutorials PHP & MySQL

Solution for MySQL 8 using unknown authentication method.

David Carr


Writing to an existing PDF with FPDI

PHP & MySQL Tutorials

FPDI allows existing PDF's to be used as a template for a new PDF.

David Carr


Easily assign variable when using explode in PHP

PHP & MySQL Tutorials

I use explode all the time, for splitting strings into parts, there is a cleaner way......

David Carr


Latitude and Longitude with Google Maps

PHP & MySQL Javascript HTML Tutorials

Google Maps allows using its service to get map coordinates....

David Carr


Laravel Merge PDFs

Laravel Framework PHP & MySQL Tutorials

Ever needed to merge multiple PDF's together? It's a common need. In this tutorial, I'll...

David Carr


Laravel API change unauthenticated message

API Laravel Framework Tutorials

When making API calls to Laravel when a user who is not authenticated makes a call a 401 status...

David Carr


Laravel returns 302 for unauthenticated calls

API Laravel Framework Tutorials

I've started to secure API calls with Laravel Airlock, when calling a route that's been secu...

David Carr


Upgrade Laravel Valet to PHP 7.4

Laravel Framework Tutorials

First you should upgrade your machine to PHP 7.4...

David Carr


Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.