fumseck / file
This package is abandoned and no longer maintained.
The author suggests using the imperium/imperium package instead.
a file management system
0.0.6
2017-08-20 08:58 UTC
Requires
- php: >=5.6.4
This package is not auto-updated.
Last update: 2018-07-24 09:19:04 UTC
README
Installation
$ composer require fumseck/file
Utilisation
require_once "vendor/autoload.php";
File::download($file);
File::hash($file||$path);
File::lastModified($path);
File::loads('head.php','navigation.php','content.php','footer.php');
File::search('*.gif');
File::getLines($file);
File::is...();
File::exist($file);
File::open($file,File::READ);
File::getFile();
File::uploadedFileName($input_name);
File::uploadedFileSize($input_name);
File::uploadedFileErrors($input_name);
File::uploadedFileTmpPath($input_name);
File::uploadedFileType($input_name);
File::moveUploadedFile($input_name,$destination);
File::create($file);
File::delete($file || $folder);
File::write($file,$data,$flags);
File::isWritable($file || $folder);
echo File::getContent($file);
File::putContents($file,$data,$flags)
File::getSize($file);
File::getGroup($file);
File::copyFolder($source,$destination);
File::realPath($path);
File::copy($source,$destination);
File::isEmptyArgs();
File::symlink($target,$link);
File::isReadable($filename || $folder);
We hope you will like it