Maxim Khimusov

Showcase: I built Dedupler - tool prevents duplicate files

by

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 (https://github.com/maxkhim/laravel-storage-dedupler) file storage using SHA-1 hashing.

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

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

Special Offer: First 5 quality Issue reports will get special mention in the Release Notes!

Your contribution will be permanently visible to all package users with a link to your GitHub profile.

86 views

Add a comment

Replies

Be the first to comment