Determining the owner of a model

I love this little “owns” trait/method that @michaeldyrynda & I came up with for Confomo. Look at that expressiveness. :kisses fingers: pic.twitter.com/dE731Ko1Zw — Matt Stauffer (@stauffermatt) July 7, 2017 Freek Van der Herten Freek Van der Herten is a partner and developer at Spatie, an Antwerp based company that specializes in creating web apps with […]

Continue reading →

How is Doctrine 2 different to Eloquent?

One of the really great things about ORM’s that implement the Active Recordpattern like Eloquent is, they are really easy and really intuitive to use. With Active Record, you basically just have an object that you can manipulate and then save. Calling save() on the object updates the database, and all of the magic persistence […]

Continue reading →