Oct 24, 2025
0
Level 1
Showcase: I built Dedupler - tool prevents duplicate files
The Problem: Users upload the same file multiple times, storage gets bloated, backups grow unnecessarily.
The Solution: I built Dedupler - Laravel package that automatically prevents duplicate ( github.com/maxkhim/laravel-storage-dedupler ) file storage using SHA-1 hashing.
Check potential disk space savings If you install in legacy project you can calculate efficiency of using the package via command
php artisan dedupler:analyse-legacy /absolute/path/to/legacy/storage/directory
How it works:
- Every file gets a SHA-1 hash fingerprint
- Only one physical copy is stored
- Polymorphic relationships allow attachment to any model
- Returns existing file record when duplicate detected
Please or to participate in this conversation.