Tutorials

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

Pointers and tips: dispelling the magic of git merge

Creating branches in git is blazingly fast and having a bunch of them is pretty cheap. This means we get to merge them quite often.

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

Follow these 4 steps to take your debugging skills to the next level

The date is September 9, 1947. U.S. Navy officer Grace Hopper is working on a Harvard Mark II computer when she notices that it

A nice app on Elm street

If you’ve ever worked with Redux – in the context of a React application or not – you may have heard numerous times that it was

How to integrate Elasticsearch in your Laravel App - 2024

Integrating Elasticsearch with Laravel enhances search capabilities beyond simple LIKE matches. This guide covers Elasticsearch basics, setting up a local environment with Docker, creating a demo application, and implementing Elasticsearch integration using observers and repositories.

Catching bugs early with static analysis

PHP is a dynamic language and while this certainly has its benefits, it also means that it’s not uncommon to see errors about calling

Optimizing JavaScript packages for tree shaking

As an author of (open source) packages, I think you have the responsibility to protect the bundle size of your package consumer. When you publish

Using MySQL for Testing (on Laravel)

We have a really good testing culture at madewithlove and, in one of the projects I am working on, we have a decent suite of

Creating a declarative oscillator component with React hooks.

Most developers are familiar with the concept of imperative and declarative programming.  Imperative programming is when you provide the program with the exact steps to

How we improved our PWA score by 53 points in 4 hours

A week ago Hannes and I attended PHPUK in London (You can read all about it here). We saw a lot of great talks and

How to integrate your Laravel app with Elasticsearch - 2017 edition

This article is an update (2017) of the How to Integrate your Laravel app with Elasticsearch original article from 2015. There is also an updated

Concurrent HTTP requests without opening too many connections

I’ve been performing a talk on PSR-7 at PHP meetups and conferences. In that talk I demo the use of Guzzle to perform

How to build faceted search with facet counters using Elasticsearch

We all know them, search pages which allow you to filter through vast data sets by checking or unchecking filters. In most cases each filter

Otto: First Impressions

A new tool called Otto came out recently. It’s a tool from Hashicorp. At the project homepage we can see the headline “meet the

Subscribe