nurmuhammet / php-file
Simple file manipulator
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nurmuhammet/php-file
This package is auto-updated.
Last update: 2025-12-23 12:46:56 UTC
README
Examples
require __DIR__ . '/vendor/autoload.php'; use Nurmuhammet\File; # Available methods, see example.php for examples. File::exists('/path/to/file'); File::size('/path/to/file'); File::name('/path/to/file'); File::extension('/path/to/file'); File::delete('/path/to/file'); File::lastUpdated('/path/to/file'); File::get('/path/to/file'); File::put('/path/to/file', 'Content'); File::append('/path/to/file', 'Content'); File::truncate('/path/to/file'); File::copy('/path/to/file', '/path'); File::move('/path/to/file', '/path'); File::rename('/path/to/file', 'name'); File::download('/path/to/file', 'dir'); File::upload('/path/to/file', 'dir');