AutoMapper
A PHP library that maps one object to another automatically using on-the-fly generated code, avoiding both hand-written mapping code and slower reflection-based alternatives.
AutoMapper is a PHP library that removes the need to hand-write code that copies fields from one object into another, a task the project describes as boring and often handled less efficiently by other alternatives. It generates the mapping code on the fly rather than relying on reflection, which the project says makes it very fast.
It installs through Composer and is used by calling a create method to build a mapper, then a map method to convert data into a target class. Further usage details are documented separately, and the project provides an issue tracker on GitHub for support.