myclabs/deep-copy
DeepCopy creates safe deep clones of PHP objects, recursively copying referenced objects while preserving the original object graph. It handles cyclic references to avoid infinite loops, and supports customization via matchers and filters for specific properties and types.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/php-cloneable | 0.82 | Trait for PHP 8.1+ that makes objects with readonly properties cloneable. Safely “clone with changes” by copying an object while overriding readonly fields—handy until PHP gets native clone-with support. | 97 | 98 | 7 | 102K | 0 | 1.6 | 41.7 | MIT | 2 years ago | |
| symfony/polyfill | 0.81 | Symfony Polyfill backports newer PHP features and provides compatibility layers for missing extensions and functions. Use it to keep apps portable across PHP versions, smoothing gaps in intl, mbstring/iconv, uuid, and many core APIs. | 2,811 | 2,812 | 159 | 41K | 0 | 40.7 | 19.2 | MIT | 4 weeks ago | |
| symfony/polyfill-deepclone | 0.80 | Pure-PHP polyfill for the deepclone extension. Provides deepclone_to_array() and deepclone_from_array() plus exceptions to clone/serialize value graphs while preserving identity, references, cycles, and private state. Uses a cache-friendly array wire format. | 12 | 11 | 0 | 4M | 0 | 22.3 | 64.9 | MIT | 4 weeks ago | |
| inigopascall/clone-db | 0.78 | Laravel artisan command to clone medium/large MySQL databases between connections. Chunks data to avoid memory/packet limits and orders tables by foreign-key dependencies to reduce constraint errors—useful for syncing live data to staging/dev. | 0 | 0 | 0 | 5 | 0 | 0.6 | 8.3 | BSD-3-Clause | 1 year ago |
How can I help you explore Laravel packages today?