Hello world! 👋 Want to work with me?

Hi! I'm Marc Fowler, an experienced SaaS CTO and software/product engineer.

Over the last 15+ years, I've been the sole developer behind the hugely successful ThriveCart, as well as many other platforms.

I'm an expert at getting the maximum result from the leanest resources, to save you time and increase your revenue.

I am currently available to hire. Read my CV, send me an email and let's talk!

Using Coolify as an alternative to Laravel Forge

The more I use Coolify, the more I’m impressed by it. It’s a great alternative to platforms like Laravel Forge, Vercel, Heroku and others. Following on from my previous post about setting this up, I’ve also published a Github repository to make it easy to get started. Coolify handles everything I’ve thrown at it, and I’m using it in production with PHP, Node, Python, Postgres, and MySQL. If you work across different technologies or like to experiment, it’s never been easier to take back control from the cloud and run things on your own servers.
Read more →

Using Cloudflare Workers to serve custom error pages

I’ve recently had to shut down some old platforms. This presented an interesting challenge, as I had some requirements: No ongoing server costs/maintenance Custom error messages depending on the domain, so the solution can be applied to multiple legacy platforms Work across wildcard subdomains, which are used to identify the tenant I already manage DNS through Cloudflare, and after investigating their Workers a little bit, I found that they provide the perfect solution.
Read more →

Syncing multiple GBs from EFS to a remote S3 account

Whilst shutting down some old projects, I’m archiving all of their folders and storing them in S3 in case of an emergency. I don’t have AWS credentials stored and set up on the EC2 instance, so I’m passing them through as variables to the script below. As with the script to export tens of thousands of individual MySQL databases, you’ll want to edit the values at the top. EFS_MOUNT_POINT is the full path to where the EFS drive is mounted S3_BUCKET is your target S3 bucket AWS_… self explanatory!
Read more →

Exporting 10,000+ MySQL databases

I’m a big fan of single-tenant databases, one for each customer. With MySQL and InnoDB, a single server can scale to tens of thousands of individual databases. As long as you’re deliberate with your schema design up front - here, I’m a big fan of explicit key/value tables that let you assign arbitrary metadata to objects that are more normalised - you buy yourself incredibly simple isolation by simply selecting the appropriate database once you’ve identified your tenant (using PHP’s select_db()).
Read more →

One-time Lemon Squeezy payments with Laravel + Filament

I’ve just completed my first tiny product DoubleShot, a quick and easy way to create and share ‘before’ and ‘after’ photos to social media. The final piece was to get payments working so that people could buy the app and get access. It seems that the favoured way to do this is with Laravel Cashier - have the customer create an account first, then subscribe that User model to a subscription plan.
Read more →