Laravel

21 posts
The command pattern in Laravel

The command pattern in Laravel

This post delves into the Command Bus pattern, highlighting its use in software architectures and Laravel implementation. It covers commands as user actions, command handlers, and the Command Bus for execution, emphasizing the pattern's role in simplifying and maintaining code structure and logic.

Gradually migrating between mail providers in Laravel

Gradually migrating between mail providers in Laravel

Migrate between two email providers in a Laravel project with ease of mind while maintaining control.

Setting up infrastructure using HashiCorp Terraform, Laravel Forge and Cloudflare

Setting up infrastructure using HashiCorp Terraform, Laravel Forge and Cloudflare

If you’ve used Terraform before and you want to jump to the meat of how to combine Terraform, Forge, and Cloudflare, jump to the paragraph titled “Combining Terraform, Forge, and Cloudflare“ Introduction I have recently joined a project which required a transition from existing infrastructure to a brand new...

Google Workspace SSO and automated user provisioning

Google Workspace SSO and automated user provisioning

One of the client projects I work on has larger, enterprise customers. Because of this, I needed to create a way for their users to sign into our application using single sign-on (SSO). To do that, we needed to automatically provision users in our system. This is something I wasn’...

The easiest production-ready image to run your Laravel application

The easiest production-ready image to run your Laravel application

It’s no secret that we are big fans of Docker during our daily development work. It’s still one of the easiest ways to ensure a common working environment when developing locally and avoid the “It works on my machine” arguments. Even Laravel ships with a default Docker-based environment...

Performance tips for Laravel

Performance tips for Laravel

Recently, we were looking into some Laravel PHP8 performance issues we were experiencing on one screen of a web application. This screen would show an aggregation of several statistics across the application and would include things like: * The total number of tickets, grouped by their status (open, closed, …) * The total...

Merging 4 codebases with help of Rector

Merging 4 codebases with help of Rector

The set up When developing software, you sometimes come up with ideas that in the end don’t really work out. Depending on the idea and on the time spent finding out it’s a bad idea, it can be challenging to turn back the changes. One of those ideas...

Improving Docker performance for macOS

Improving Docker performance for macOS

One of the most important things when starting to work on a project is to set up a local development environment. For me, this should have the following requirements: * Easy to install, preferably a one-click/command solution * Reproducible across multiple host machines, by everyone in the team Very often, our...

Laravel's Polymorphic relationships and Polymorphism

Laravel's Polymorphic relationships and Polymorphism

As many of you know Laravel provides a concept for dealing with Polymorphism in Eloquent relationships called “Polymorphic Relationships“. It’s a nice abstraction, but if you are not careful it might lead to a lot of type checking at runtime all over the place. There’s nothing wrong with...

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.