Posts in category: Tutorials

Packages | Laravel Framework | Tutorials

Login with Microsoft Graph

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

David Carr


PHP & MySQL | Tutorials

ASCII to Binary in PHP

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

David Carr


HTML | Tutorials

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...

David Carr


PHP & MySQL | Tutorials

MySQL 8 The server requested authentication method unknown to the client

Solution for MySQL 8 using unknown authentication method.

David Carr


PHP & MySQL | Tutorials

Writing to an existing PDF with FPDI

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

David Carr


PHP & MySQL | Tutorials

Easily assign variable when using explode in PHP

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

David Carr


PHP & MySQL | Javascript | HTML | Tutorials

Latitude and Longitude with Google Maps

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

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel Merge PDFs

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

David Carr


API | Laravel Framework | Tutorials

Laravel API change unauthenticated message

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

David Carr


API | Laravel Framework | Tutorials

Laravel returns 302 for unauthenticated calls

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

David Carr


Laravel Framework | Tutorials

Upgrade Laravel Valet to PHP 7.4

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

David Carr


PayPal | PHP & MySQL | Tutorials

How to integrate PayPal into PHP

In this post, I’ll explain how to use PayPal for one-off payment and how to use the Instant Pa...

David Carr


Tutorials | PHP & MySQL | Laravel Framework

Send emails with Office 365 SMTP

Office 365 is great for handling emails but it can also be used as an SMTP relay for your website. I...

David Carr


PHP & MySQL | Tutorials

V1 PDO Wrapper released

I've updated and pushed a new release to my PDO Wrapper package.

David Carr


PHP & MySQL | Tutorials

Test composer packages locally

When developing a new composer package you will want to test it locally before uploading it to Packa...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

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