👋 Hey there, I'm Steve, but you may know me better as @JustSteveKing . I currently live in the Welsh Valleys, about 40 minutes north of Cardiff, with my wife and kids.
I work as a Lead Software Enginner for a company called Mumsnet , the UK’s largest network for parents, with over 8 million unique visitors per month clocking up over 100 million page views. We regularly campaign on issues including support for families of children with special educational needs, improvements in postnatal and miscarriage care, and employment rights for working parents.
I spend some of my spare time moonlighting as a consultant CTO, and freelance software engineer for various clients from around the world. As a consultant CTO I have been involved in some major Digital Transformation projects, revamping products and departments ready for an acquisition, API strategy and consulting, open source consulting and advising companies on their technical strategy.
I have a YouTube Channel where I stream and release video content which is of an educational nature. The main focus of what I do here is to help combat imposter syndrome in other developers, and spend as much time as I can sharing the knowledge I have built up over the years.
Laravel subdomains in Docker
There are many ways you can add Docker to your Laravel application, but how do you add docker to your Laravel application when you need sub domain support?
I have used a lot of different frameworks in my career, from Zend(Laminas) to Yii, Cake to Codeignitor, SlimPHP to Laravel and more. They all have their own way of doing things, and their own selling points and benefits. Some are strict on their PSR (PHP Standards Recommendation) implementation, while others are a little looser. I have also always wanted to dabble with creating my own micro-framework, one that I can use for small APIs that just need something fast thrown together.
Building a CLI application in 2022
I have been building CLI apps for a long time, from simple bash/perl scripts back when I was a System Admin - and now using things like PHP Go or Rust. Let's walk through options for building CLI apps in 2022
Laravel Command Bus
In Laravel 5.1 the Command Bus was replaced with Dispatchable Jobs, we can still use them but let us also look at how to add a Command Bus.
Over the years I have built a lot of SDKs to work with 3rd party APIs. Each time I require the same components, so I decided to create a way to bootstrap this process while still allowing flexibility