Posts by author: 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


MySQL 8.0+ error: The server requested authentication method unknown to the client

Development

Upgraded MySQL to v8 and starting getting connection errors due to how MySQL 8 defaults to auth_sock...

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


Upgrade PHP 7.4 with Homebrew

Development

PHP 7.4 came out this week, so it's time to upgrade! 

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


The PHP Workshop

Books

I'm really happy to announce my new book The PHP Workshop has been published! 

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.