Skip to content

Releases: phpdevcommunity/php-filesystem

Fix custom filename for tmp file

09 Jan 10:04
Compare
Choose a tag to compare
1.0.4

fix custom filename for tmp file

add filename argument to create tmp file

07 Jan 09:46
Compare
Choose a tag to compare
1.0.3

add filename argument to create tmp file

add support for creating a temporary file with a custom name

05 Dec 10:45
Compare
Choose a tag to compare
  • The createTempFile method now allows specifying a custom filename.
  • If no name is provided, a temporary file is created with the prefix 'tmp_' in the system's temporary directory.
  • If a name is provided, the file is created in the temporary directory with the specified name if it does not already exist.

Added MimeType utility class

19 Sep 06:45
Compare
Choose a tag to compare
  • Implemented getMimeTypeByExtension() to retrieve MIME type based on file extension.
  • Added getExtensionByMimeType() for reverse lookup of file extension from MIME type.

First stable release of file utility library

18 Sep 13:29
Compare
Choose a tag to compare
  • Implemented stable versions of FileInfo, FileSynchronizer, FileExplorer, and FileSplitter classes.
  • Added comprehensive unit tests for all core functionalities.