
Gradually migrating between mail providers in Laravel
Migrate between two email providers in a Laravel project with ease of mind while maintaining control.
Migrate between two email providers in a Laravel project with ease of mind while maintaining control.
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...
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’...
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...
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...
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...
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...
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...
If you have a really simple PHP application that you deploy to a single server, deploying it basically boils down to transferring the source code to the server, one way or another. Maybe you also clear OPcache, if you have it enabled. If your application is more complex and constitutes...