The IO package provides classes that interact with input and output of data on the local filesystem. Specialized classes can be used to read data, write data, alter permissions, rename files, copy, create, delete, move, traverse, and many more through an easy to use interface.
This package can be installed with Composer.
composer require titon/io:*