Universal classes for modern PHP applications