Instantiator is a PHP library designed to create class instances without invoking their constructors. It uses the PHP Reflection API to allocate objects in memory and initialize them in a predefined state, bypassing standard constructor logic.
The project functions as a data hydration tool and a testing helper. It enables the population of PHP objects from external data sources by mapping values directly to properties, regardless of whether those properties are public, protected, or private. This capability allows for the generation of objects in specific internal states for unit tests without managing complex constructor dependencies.
The library provides utilities for object instantiation, reflection-based property injection, and data hydration. It supports the creation of object graphs by recursively instantiating dependent classes to populate complex hierarchies based on declared type hints.