Recently we have been required to develop for PHP 7.4 while maintaining older PHP 7.2 sites. Using Laravel Valet has become the norm for us, but switching PHP versions is... read more →
Having recently updated Homebrew we realised they have dropped support for PHP 5.6 and 7.0. Even though we agree fully with getting on the latest versions, some times we are... read more →
We have been busy using Vuetify for a new project and wanted to improve the selection of a person from a very long list. To avoid loading the entire list... read more →
While updating from version 2.0.* to 2.3.* to take advantage of the valet use, we hit a bug where sites were no longer being served.After running composer global update to... read more →
Sometimes you might want to disable auto population of WooCommerce fields for logged in users. To do this we make use of the woocommerce_checkout_get_value filter and the if in WC_Checkout... read more →
We ran into an issue this morning with Ninja Forms (NF's): How do we run JS code to add Choices.js on field that appear via NF's Conditional Logic? NF's suggest using Marionette... read more →
Below is some simple SCSS using bootstrap to create simple icon buttons like: Simple add SCSS as follows: a.btn-icon, .btn-icon { position: relative; &.btn-outline-primary { &:before { background: $primary; }... read more →
When you need to remove the sidebar completely for a Custom Post Type (CPT) in WordPress. First you need to locate or create your template file and remove the call... read more →
On the rare occasion you need to add a library of code that is not setup for Composer, then follow the X steps below: Download a library e.g Matex PHP... read more →
This is a really simple example of using Laravel's built-in Validation to validate the contents of a CSV File Upload. Having searched around I found the following package Konafets' CsvValidator However at the... read more →