Using interfaces is easy and keeps your code clean. This will keep your code clean and extendable.
We can use some object oriented techniques to set configurations rather than arrays or endless constructor types.
Eloquent Trick to get amazing speeds with polymorphic relationship queries using compound indices.
Common Table Expressions are incredibly useful in MySQL 8. However, Laravel does not support it out of the box. Let's see how we can use a package to support this.
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.
I have found podcasts are a great way to keep up to date with a lot of the latest information. I've compiled a list of a few I really like.
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.
There are five command output methods. What do they look like in the CLI?
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.