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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 8 | 6 | 0 | 2M | 0 | 20.6 | 64.2 | MIT | 1 month ago | |
| symfony/polyfill | 0.79 | 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,810 | 2,812 | 157 | 41K | 0 | 39.6 | 19.0 | MIT | 1 month ago | |
| spatie/php-cloneable | 0.79 | 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 | 8 | 79K | 0 | 1.6 | 40.1 | MIT | 2 years 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 | 3 | 0 | 0.6 | 8.3 | BSD-3-Clause | 1 year ago | |
| neurony/laravel-duplicate | 0.77 | — | 120 | 110 | 23 | 27 | 0 | 2.8 | 1.2 | MIT | 6 years ago |
How can I help you explore Laravel packages today?