Mantras - Code Patterns

Code to an interface not an application

Observer Pattern - https://sourcemaking.com/design_patterns/observer/php

Closures

Generators

Strategy Pattern

Command Pattern

Single responsibility principle

Replace Conditional with Polymorphism

Injected Dependancy

Reflection