9th Jan 2020 • David Carr Test composer packages locally When developing a new composer package you will want to test it locally before uploading it to Packa... Read more
9th Jan 2020 • David Carr Convert translate message calls to a single json language file Laravel supports using the __() call to setup locale for your pages ie in a blade file you may have... Read more
5th Dec 2019 • David Carr MySQL 8.0+ error: The server requested authentication method unknown to the client Upgraded MySQL to v8 and starting getting connection errors due to how MySQL 8 defaults to auth_sock... Read more
1st Dec 2019 • David Carr Switching between PHP versions with Homebrew With Homebrew it's possible to have multiple versions of PHP installed at once, to switch which... Read more
30th Nov 2019 • David Carr Upgrade PHP 7.4 with Homebrew PHP 7.4 came out this week, so it's time to upgrade! Read more
23rd Nov 2019 • David Carr Laravel adding custom validation errors Have a situation where you need to add custom errors to the error array after validation? this post... Read more
4th Nov 2019 • David Carr The PHP Workshop I'm really happy to announce my new book The PHP Workshop has been published! Read more
26th Oct 2019 • David Carr Setup Linode - Part 10 Laravel The following steps are needed for running Laravel on Linode. Read more
26th Oct 2019 • David Carr Setup Linode - Part 9 Remote MySQL over SSH To connect to your Linode database remotely log in to your MySQL client over SSH Read more
26th Oct 2019 • David Carr Setup Linode - Part 8 MySQL Logged in as a user use sudo to access elevated privileges or login as root. Read more
26th Oct 2019 • David Carr Setup Linode - Part 7 Lets Encrypt Setting up an SSL certificate enables HTTPS on the web server, which secures the traffic between the... Read more
26th Oct 2019 • David Carr Setup Linode - Part 6 Virtual Hosts Virtual hosts maps folders to domain names allowing multiple sites to be configured on a single... Read more
26th Oct 2019 • David Carr Setup Linode - Part 5 Composer Install composer, PHP package manager. Read more
26th Oct 2019 • David Carr Setup Linode - Part 4 Apache Enable Mod Rewrite Enable Apache ModRewrite Read more
26th Oct 2019 • David Carr Setup Linode - Part 3 upgrade to PHP 7.3 Since the lamp stack comes with PHP 7.0 an upgrade is required. Read more