Learn the OOP mechanisms with simple examples...
For polish community I also wrote more about patterns on my blog:
Creational:
Structural:
Behavioral:
- Chain Of Responsibility
- Command
- Iterator
- Memento
- Null Object
- Observer
- State
- Strategy
- Template Method
- Visitor
I also recommend you two great websites with design patterns:
- The best materials on this topic that I saw ever (must see): https://refactoring.guru/design-patterns
- Great examples of code (always updated to the newest version of PHP): https://designpatternsphp.readthedocs.io