Using interfaces is easy and keeps your code clean. This will keep your code clean and extendable.
Eloquent Trick to get amazing speeds with polymorphic relationship queries using compound indices.
The article includes the best way to understand a many to many relationship and write a migration.
Do you want to test a specific folder in PHPunit? I have found a way to implement this feature more easily.
This is an optional technique that comes in handy when doing processing of arrays that may contain a lot of keys and is used for information storage or manipulation. We can refactor for better and easier understanding of code.
Beginners often clog up their Laravel blade files with unnecessary "ifs", functions, variable assignments, and a host of other issues. We'll dive into why it's bad and how we can fix it.
A unit testing tip that will save you tons of time and effort inspired by Zoolander.
A mistake I see in a lot of beginner devs is hardcoding variables inside your code. This is not a good practice, and I see it all too often. Let's fix that and make our code cleaner.
Did you know that you can auto-forward on exception? Laravel makes this process incredibly simple and easy. An extremely useful trick!
A Laravel specific trick sequentially manipulate data. Allows for testable pipelines that utilize the service container and multiple parameters and constructors.