travail/image-perceptualhash
Generate perceptual hashes from images and compare them by Hamming distance to spot duplicates and visually similar pictures. Integrates with Laravel and Eloquent for storing hashes and finding near matches in your app.
jenssegers/imagehash meet the same need behind the same interface?ImageHashService, bound to an interface. Generate hashes in a queued job after upload, store the hash alongside image metadata, and gate behavior behind a feature flag. Avoid calling it synchronously in request paths.composer.json constraints. If the fork cost exceeds value, replace it behind the same interface with a maintained library. For existing hashes, dual-write and backfill before switching comparison logic.How can I help you explore Laravel packages today?