znframework/package-filesystem
最新稳定版本:8.21.0
Composer 安装命令:
composer require znframework/package-filesystem
包简介
ZN Framework Filesystem Package
README 文档
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();
统计信息
- 总下载量: 7.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 10
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-20