PHPackages                             macroscope29/yii2-file-upload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. macroscope29/yii2-file-upload

ActiveLibrary[File &amp; Storage](/categories/file-storage)

macroscope29/yii2-file-upload
=============================

Yii2 FileUpload – PHP library for uploading files to local server or Amazon S3

v0.2.3(9y ago)0123MITPHPPHP &gt;=5.5.0

Since Jun 26Pushed 6y agoCompare

[ Source](https://github.com/macroscope29/yii2-file-upload)[ Packagist](https://packagist.org/packages/macroscope29/yii2-file-upload)[ Docs](https://github.com/vlaim/yii2-file-upload)[ RSS](/packages/macroscope29-yii2-file-upload/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Yii2 File Upload
================

[](#yii2-file-upload)

[![Stable Version](https://camo.githubusercontent.com/cad471b274653165d0f2cf1b1218575ca2573f09c5c22679493e1c0ca4a56b30/68747470733a2f2f706f7365722e707567782e6f72672f766c61696d2f796969322d66696c652d75706c6f61642f762f737461626c65)](https://packagist.org/packages/vlaim/yii2-file-upload) [![License](https://camo.githubusercontent.com/02fd43f453de13c7c84eb86b4a0bcfa384eede736783ac44897bfb474a84861d/68747470733a2f2f706f7365722e707567782e6f72672f766c61696d2f796969322d66696c652d75706c6f61642f6c6963656e7365)](https://packagist.org/packages/vlaim/yii2-file-upload)

**Yii2 FileUpload** – PHP library for uploading files to your server or [Amazon S3](https://aws.amazon.com/ru/documentation/s3). It makes easy for developers to handle with yii2 UploadedFile instances. It's also possible to upload files via URLs from external sources.

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

> Note: Check the [composer.json](https://github.com/vlaim/yii2-file-upload/blob/master/composer.json) for this extension's requirements and dependencies. Read this [web tip /wiki](http://webtips.krajee.com/setting-composer-minimum-stability-application/) on setting the `minimum-stability` settings for your application's composer.json.

Either run

`$ php composer.phar require vlaim/yii2-file-upload "dev-master"`

or add

`"vlaim/yii2-file-upload": "dev-master"`

to the `require` section of your `composer.json` file.

**Do not forget include Composer autoloader and define namespace for library**

```
