Author: Manuel Lemos
Updated on: 2022-01-20
Posted on: 2022-01-18
Package: PHP Duplicate File Remover
Sometimes files are saved twice or copied to a different directory, which takes needless space.
This package provides a solution for this problem by finding and removing duplicate files inside a folder.
About the PHP Duplicate File Remover Package
The package PHP Duplicate File Remover is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Remove files that exist more than once in a folder
Here follows in more detail what it does:
This class can remove files that exist more than once in a folder.
It provides a function that can traverse a given directory recursively to check if it contains the same contents by comparing the SHA1 hash value of the contents of each file that it finds.
The class removes the finds that appear more than once.
It can also remove all files at once using another function.
Conclusion
The PHP Duplicate File Remover can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
Comments:
2. Thanks phpclasses - Johnson Omotosho (2022-01-20 06:15)
I'm very happy seeing this... - 0 replies
Read the whole comment and replies
1. Performance Improvement - Nick Shtangey (2022-01-20 04:49)
A suggestion to improve performance of your function.... - 1 reply
Read the whole comment and replies