Posts in category: Tutorials

Packages | Laravel Framework | Tutorials

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

David Carr


Bash | Tutorials | Development

Switching between PHP versions with Homebrew

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

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel adding custom validation errors

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 10 Laravel

The following steps are needed for running Laravel on Linode.

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 9 Remote MySQL over SSH

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 8 MySQL

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 7 Lets Encrypt

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 6 Virtual Hosts

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 5 Composer

Install composer, PHP package manager.

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 4 Apache Enable Mod Rewrite

Enable Apache ModRewrite

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 3 upgrade to PHP 7.3

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

David Carr


Linode | VPS | Tutorials | Development

Setup Linode - Part 2 Users

You shoukd not use the ROOT user for normal usage, its too dangerous instead its recommended to setu...

David Carr


Linode | VPS | Tutorials

Setup Linode - Part 1 LAMP

Setting up a Linode VPS server, I’m going to use a one click installer so on the create server...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel Full Text Search

When searching using LIKE search for basic searches is fine, when you need greater control Full-Text...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Add items into a request object

To add additional items into the request use ->merge and pass in an array of attributes.

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.