chriskonnertz/deeply
Deeply is a PHP library for deep cloning objects and arrays. It recursively copies nested objects so duplicates share no references with the original, with a simple API and support for magic methods like __clone and __wakeup. Useful for snapshots, caching, and safe duplication without side effects.
DeepCopyService or equivalent interface.clone with carefully designed __clone() methods instead.How can I help you explore Laravel packages today?