Andrew McCombe
Experienced full stack web developer


Latest Article

Using Docker with Laravel cover image

July 21, 2019

Using Docker with Laravel

When developing on a Laravel project I've used Homebrew for my web server and database, or used a Vagrant box. Whilst these work well most of the time there's an alternative that is quickly becoming the de-facto standard: Docker. Fortunately, getting Laravel to work with Docker is quite...

Read

Latest Posts

May 24, 2019

Its possible in Magento to place orders via the admin area. However, some payment methods require the customer to be present at time of purchase, and so the payment method won't show in the admin...

December 18, 2018

I got the following error when creating a new controller via Artisan: Unresolvable dependency resolving [Parameter #0 [ $repository ]] in class App\Http\Controllers\Controller

August 25, 2018

I'm forever having to lookup how to use Apache's .htaccess to redirect http to https so here it is. First, make sure you have Apache's <code>mod_rewrite</code> module enabled. This will check the...

August 25, 2018

Sometimes your website will be set up to serve your site on both www.domain.com and also domain.com. Search engines will see this as two separate sites (unless you have a <code>rel="canonical"</code>...

May 30, 2018

I Recently came across a situation where I couldn't log in to the Magento admin area, getting 'invalid form key on admin'. Here's how to fix it.

May 30, 2018

Ever had a dev site set up and had it 301 redirect to 'https', only to find that Google Chrome caches this and you can't get the 'http://' version after?

May 30, 2018

Here's a quick snippet showing how to import a Google Sitemap file into a MySQL table. This is useful if you need to do anything with the urls such as scrape the pages or check for 301/302/404...

January 3, 2018

This is a very basic WordPress plugin that adds Google Analytics tracking code to your WordPress Site.  It doesn't have any advanced features like many other plugins. You can get the plugin from...

November 29, 2017

There are many reasons why you would want to password protect your website, or a section of your website. Here's how to setup a .htaccess file to password protect your website.

August 15, 2017

I had a use case where a Magento admin user was limited to viewing the orders only. They should be able to view orders but not perform any actions on an order. The best way to do this with Magento...

August 8, 2017

Here's how to remove specific tabs from Magento's admin product edit pages.