fumseck / file
a file management system
Installs: 353
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fumseck/file
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