znframework / package-filesystem
ZN Framework Filesystem Package
Installs: 7 261
Dependents: 10
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.0.0
- znframework/package-cryptography: >=6.0
- znframework/package-datatypes: >=6.0
- znframework/package-helpers: >=6.0
- znframework/package-request: >=6.0
- znframework/package-zerocore: >=6.0
README
ZN Framework Filesystem Package
Follow the steps below for installation and use.
Installation
You only need to run the following code for the installation.
composer require znframework/package-filesystem
Supported Libraries
Folder Library
Click for documentation of your library.
<?php require 'vendor/autoload.php'; ZN\ZN::run(); File::write('example.txt', 'Example'); echo File::read('example.txt');
Folder Library
Click for documentation of your library.
Folder::create('Example'); Folder::delete('Example');
Upload Library
Click for documentation of your library.
use ZN\Request\Post; if( Post::uploadButton() ) { Upload::mimes('image/jpeg', 'image/png')->start('uploadFile', 'upload'); output( Upload::error() ); } echo Form::enctype('multipart')->open('form'); echo Form::file('uploadFile'); echo Form::submit('uploadButton', 'Upload'); echo Form::close();