Category: relational

What Are Polymorphic Relations and How Do We Use Them with Eloquent?

While I was working on an application for a client, I had to implement a new module that entails the following: Users ask for a budget quotation for a certain task. Every task has a location. Professionals can subscribe to different zones. A zone can be a region or a city. Now, let’s neglect the core applicatio...