What the Macroable trait enables you to and how you can use it.


Sometimes you just can't expose the internal as it is in your database or on your model. So GraphQL has a convenient way to rename attributes when defining your types in your schema.


Learn how to add dynamic relationships on Laravel models.


When initializing a composer package with composer init you are asked for a vendor/package-name. I used to type this out all the time, but today I learned how to set a default value for the vendor name.


Today we are going to look at this weird thing called double negations in PHP and what they are used for. And just to be clear, I'm talking about using !! in PHP 😉