Posts in category: Tutorials

How to integrate PayPal into PHP

PayPal PHP & MySQL Tutorials

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

David Carr


Send emails with Office 365 SMTP

Tutorials PHP & MySQL Laravel Framework

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

David Carr


V1 PDO Wrapper released

PHP & MySQL Tutorials

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

David Carr


Test composer packages locally

PHP & MySQL Tutorials

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

David Carr


Convert translate message calls to a single json language file

Packages Laravel Framework Tutorials

Laravel supports using the __() call to setup locale for your pages ie in a blade file you may have...

David Carr


Switching between PHP versions with Homebrew

Bash Tutorials Development

With Homebrew it's possible to have multiple versions of PHP installed at once, to switch which...

David Carr


Laravel adding custom validation errors

Laravel Framework PHP & MySQL Tutorials

Have a situation where you need to add custom errors to the error array after validation? this post...

David Carr


Setup Linode - Part 10 Laravel

Linode VPS Tutorials Development

The following steps are needed for running Laravel on Linode.

David Carr


Setup Linode - Part 9 Remote MySQL over SSH

Linode VPS Tutorials Development

To connect to your Linode database remotely log in to your MySQL client over SSH

David Carr


Setup Linode - Part 8 MySQL

Linode VPS Tutorials Development

Logged in as a user use sudo to access elevated privileges or login as root.

David Carr


Setup Linode - Part 7 Lets Encrypt

Linode VPS Tutorials Development

Setting up an SSL certificate enables HTTPS on the web server, which secures the traffic between the...

David Carr


Setup Linode - Part 6 Virtual Hosts

Linode VPS Tutorials Development

Virtual hosts maps folders to domain names allowing multiple sites to be configured on a single...

David Carr


Setup Linode - Part 5 Composer

Linode VPS Tutorials Development

Install composer, PHP package manager.

David Carr



Setup Linode - Part 3 upgrade to PHP 7.3

Linode VPS Tutorials Development

Since the lamp stack comes with PHP 7.0 an upgrade is required.

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.