PHPnews.io

Overview for 'jasonmccreary'

Add PHPMyAdmin to macOS using Docker

Written by Jason McCreary / Original link on Oct. 11, 2020

One of the initial posts I wrote for creating a local development environment on macOS was installing PHP my admin. Initially I have done this by including it in my own project files and adding an Apache virtual host configuration for it. Or at least a install it in the route web directory making…


Install PHPMyAdmin on macOS using Docker

Written by Jason McCreary / Original link on Oct. 11, 2020

One of the initial posts for creating a local development environment on macOS included a section for installing PHPMyAdmin. These days I tend to use some thing like TablePlus or Sequel Pro plus to interface with MySQL. But sometimes I like to fall back on a handful of browser tools. Call me old sc…





Avoiding inheritance in Laravel models

Written by Jason McCreary / Original link on May. 13, 2020

After working on hundreds of Laravel projects, a common regret I see is the use of inheritance. While inheritance is one of the pillars of object oriented programming, it's actually less beneficial when used alongside a framework like Laravel. One of the drawbacks is that you inject a layer of sepa…