https://github.com/znframework/package-filesystem
ZN Framework Filesystem Package
https://github.com/znframework/package-filesystem
Last synced: 8 months ago
JSON representation
ZN Framework Filesystem Package
- Host: GitHub
- URL: https://github.com/znframework/package-filesystem
- Owner: znframework
- License: mit
- Created: 2018-01-19T12:22:27.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2025-01-05T14:17:03.000Z (12 months ago)
- Last Synced: 2025-04-12T23:45:28.361Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
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
Folder Library
Click for documentation of your library.
```php
Folder::create('Example');
Folder::delete('Example');
```
Upload Library
Click for documentation of your library.
```php
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();
```