Laravel

August 26, 2024

Scheduling posts on a static site

My blog is a static website, built using Jigsaw, and deployed onto Netlify. Recently, I’ve started publishing a lot more posts. However, I don’t write these posts at exactly that cadence....

Read

July 12, 2024

Using React Hook Form with auto-generated API types

Following my post on generating a type-safe API client from your Laravel API, I wanted to share how I then use those auto-generated request types not just for making requests, but also for ensuring...

Read

July 9, 2024

Type-safe API calls with Laravel and TypeScript

Working at incident.io, I’ve really come to appreciate our auto-generated API client. Whenever we make changes to our API, we do so by making a change to the API spec (in Go), which is used to...

Read

October 6, 2022

Why we wrote a Kubernetes operator to generate random strings

Earlier this week, I attended KubeHuddle in Edinburgh. Conferences always provide motivation through all the ideas you develop from conversations with people. In talking to various platform engineers...

Read

July 8, 2022

Simplifying containers with Laravel Octane

Containers are all the rage these days, but containerising PHP applications has always felt a bit… clunky. In the past, it’s been a choice between complex networking but efficient resource use...

Read

June 24, 2018

Adding custom claims to the Laravel Passport JWT

One of the advantages of using JSON Web Tokens as the transport for your authentication layer (such as OAuth) is that you can attach additional data in the form of public claims (see the relevant RFC...

Read

March 7, 2018

Debugging With Logs

When you develop your apps locally, you probably (hopefully) use something like Xdebug. However, how do you debug production and staging errors? The answer is logs. By sending log messages in...

Read

January 22, 2018

Setting up Xdebug for Docker Development in PhpStorm

+++ Big thanks to Luke Waite who did most of the heavy lifting to figure this out over at Intouch. Do you still throw in dd(), or var_dump() and die() in your...

Read

November 10, 2017

Request and Response Logging with Laravel: Debug Heaven

Debugging. Don't you just hate it when someone tells you your API isn't working? "I get some internal error", "it says not found", "it says not authorised even when I use the JWT". Yeah, bugs suck,...

Read

May 11, 2017

Dead Simple Docker Development with Laravel

After recently talking about Docker and Vagrant on an episode of Larachat Live, I realised it'd probably be nice with a short little guide on getting started with Docker environments in Laravel...

Read

May 21, 2016

Making Spark Your Own

This article was originally posted on Medium by Ahad L. Amdani Introduction to Spark Spark Up What You Have The Spark Philosophy A Closer Look at the Innards of Spark Making Spark Your Own...

Read

May 14, 2016

A Closer Look at the Innards of Spark

Introduction to Spark Spark Up What You Have The Spark Philosophy A Closer Look at the Innards of Spark Making Spark Your Own Laravel Spark comes with a lot of features built in, but how does...

Read

May 10, 2016

The Spark Philosophy

Introduction to Spark Spark Up What You Have The Spark Philosophy A Closer Look at the Innards of Spark Making Spark Your Own First of all, even though it's already been done earlier in the...

Read

May 7, 2016

Spark Up What You Have

Introduction to Spark Spark Up What You Have The Spark Philosophy A Closer Look at the Innards of Spark Introductory (Warning) Words “Should I integrate Spark?” Backup your database,...

Read

May 1, 2016

Laravel Spark: A Crash Course

Introduction to Spark Spark Up What You Have The Spark Philosophy A Closer Look at the Innards of Spark Making Spark Your Own Update (2017-05-12): I no longer endorse Spark to quite the same...

Read

October 9, 2015

Multi-tenancy in Laravel Spark

For those that aren't aware, Laravel Spark is a boilerplate for business-oriented SaaS applications, complete with two-factor authentication, subscription payments and teams. Something that is of...

Read

Sign up for our newsletter