David Carrdcblogdev.hashnode.devยทMar 31, 2018How Laravel's optional() helper can keep your pages runningIf you've ever used Laravel ORM to create a relationship between tables you will have come across the following problem at some point. Let's say you have a posts table and a users table. When displaying posts you would show the user who created the ...164 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.