The Repository Pattern in Laravel

Avoid repetition, scale your project and make maintenance a cinch. From simple to powerful repositories that work for any size project, we go through the steps to implement the repository pattern in Laravel.

Laravel Design patterns
14 parts
1 hour 36 min
2 months ago

Design Patterns: Singleton Pattern

Although it's an anti-pattern, let's take a look at the singleton pattern and why we probably shouldn't use it.

PHP Design patterns
1 part
15 mins
1 year ago

Design Patterns: Factory Pattern

The factory pattern is used to build up complex objects for you to easily use throughout your project. This means easier updates and less code mess!

PHP Design patterns
3 parts
23 mins
1 year ago

Design Patterns: Specification Pattern

The specification pattern encapsulates business logic in it's own class. Sounds complicated, but let's see how easy it is. We also build a validation class to demonstrate how it can be useful.

PHP Design patterns
2 parts
24 mins
1 year ago

Design Patterns: Adapter Pattern

The adapter pattern is a very easy pattern to understand. In fact, you've probably used it without knowing!

Design patterns PHP
1 part
6 mins
1 year ago

Design Patterns: Observer Pattern

The observer pattern is a really popular and useful pattern. Find out why.

PHP Design patterns
2 parts
30 mins
1 year ago

Design Patterns: Decorator Pattern

Ready for some decorating? Grab your tools and let's learn about the decorator pattern.

PHP Design patterns
1 part
14 mins
1 year ago

Design Patterns: Strategy Pattern

Explaining the Strategy pattern, and building something useful with it that you can use in your projects.

PHP Design patterns
3 parts
33 mins
1 year ago