Technical Tutorials

52 posts
Running PHPUnit with PHPStorm

Running PHPUnit with PHPStorm

When writing tests, I often find myself switching between the IDE and terminal windows to actually run the tests. On projects with very large test suites this would often lead to situations where I’d spend time waiting for all the tests to finish. I’d get distracted with something...

Building an SDK with PHP, part 3: Making it testable

Building an SDK with PHP, part 3: Making it testable

This post is part 3 of the “Building an SDK with PHP” series. Read Part 1 and Part 2 In our last article we’ve looked at how we can make our SDK configurable and today we’ll apply this to cover our SDK with several unit tests. What should...

Building an SDK with PHP, part 2: Making it configurable

Building an SDK with PHP, part 2: Making it configurable

This post is part of the “Building an SDK with PHP” series. Read Part 1: building an SDK. If you’ve followed along with the last post you have created a SDK in PHP while leveraging various PSRs such as PSR-17 and PSR-18. Today we’ll take this a step...

Building an SDK with PHP: Part 1

Building an SDK with PHP: Part 1

Whether you’ve built a private or public-facing API, at some point you or your users are going to want to communicate with it. To make things easier you might want to open-source an SDK that other developers can install. In this article we’ll take a look at how...

Get rid of ports in your docker development setup with Traefik

Get rid of ports in your docker development setup with Traefik

Reading tip: Learn how to run an ssh tunnel in your docker based development environment to easily connect to mysql or other non-http services. When working in a Docker-based development environment, you usually map the ports of your existing Docker container (port mapping or docker port forwarding) to a port...

Querying your Redux store with GraphQL

Querying your Redux store with GraphQL

Rationale I love React and I love Redux, but one of the things I struggle with a lot is how complicated the latter can make codebases. You add it and look away for five seconds and suddenly it’s all boilerplate and wiring code, sometimes to do very simple things....

Serverless functions with Vercel

Serverless functions with Vercel

As you (might) know, our current website is built on Gatsby. I love the fact we’re generating a super cacheable, fully static site with every build, but this adds a couple of limitations. One of the limitations of this setup is having no backend (I know that sounds funny)...

Introduction to Inertia.JS

Introduction to Inertia.JS

Recently, one of the most trendy stacks is the JAMStack, which was popularized by Netlify. It’s mainly SPAs but committed to supporting statically generated sites which means no backend, a bit of JS that consumes APIs, and some HTML (I’m overly simplifying here). Regular SPAs can have a...

A nice app on Elm street

A nice app on Elm street

...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.