Laravel

22 posts
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...

Deploying distributed web application - Laravel queued jobs

Deploying distributed web application - Laravel queued jobs

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...

Structuring your labels for maximum efficiency in a Laravel application

Structuring your labels for maximum efficiency in a Laravel application

If you’ve ever watched a TV show like “Ramsay’s Kitchen Nightmares” or similar then you’re probably aware of how important it is to label your food when you store it in a freezer. You might be wondering how this relates to software development? Just like food, forms...

Let's have pessimistic locking strategies

Let's have pessimistic locking strategies

When managing data, you need to take into account several matters. One of them is concurrency. It happens when multiple people try to simultaneously access some form of data (entities, objects, database records, etc) to either see it or update it. Imagine there is a customers data table and I...

Using MySQL for Testing (on Laravel)

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 tests. A big chunk of these tests are Feature Tests. In this article, I’ll describe the process of switching a project’s test suite...

Kubernetes 101 - explaining the basics while running a Laravel application with Redis and MySQL.

Kubernetes 101 - explaining the basics while running a Laravel application with Redis and MySQL.

Kubernetes, also known as K8s, seems to be getting quite some attention these days in the container orchestration world. It even got some attention from Docker Inc. itself a while back, despite the fact that they have their own container management tool called Docker Swarm (and it’s as good...

How to integrate your Laravel app with Elasticsearch - 2017 edition

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 version of this post (2022): How to Integrate your Laravel app with Elasticsearch – 2022 edition Searching is an important part of many applications, and it...

Laracon EU 2015 recap

Laracon EU 2015 recap

After Laracon US in Louisville, Kentucky, a few weeks ago it was time for Laracon EU this week. For the third time in a row this great conference happened in Amsterdam. Last year I went to the conference and gave a talk at the community day on the day before...

Laravel's Ecosystem

Laravel's Ecosystem

Laravel is awesome. Not just the framework, but its ecosystem. Let me walk you through it and show some of the beauties arround this community. Not just a fullstack framework First of all, I have to say that I don’t participate as much as I want online, but I...

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.