Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Working with Pimf_Util_File
Gives a methods to act in a secure way with a file/s in the file system and uses SplFileInfo a high-level object oriented interface to information for an individual file.
Create a file instance.
$file = new \Pimf\Util\File('/path/to/your/file.jpg');
Gives you the extension of the file.
Moves the file to a new location.
Other helpful methods that are delivered by SplFileInfo like information for an individual file, please find at php.net/manual/en/class.splfileinfo.php page.