PHPackages                             sokil/php-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. sokil/php-upload

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

sokil/php-upload
================

File uploader

0.7.0(6y ago)22581[3 issues](https://github.com/sokil/php-upload/issues)2MITPHPPHP &gt;=5.3CI failing

Since Feb 3Pushed 6y ago2 watchersCompare

[ Source](https://github.com/sokil/php-upload)[ Packagist](https://packagist.org/packages/sokil/php-upload)[ RSS](/packages/sokil-php-upload/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (17)Used By (2)

PHP Uploader
============

[](#php-uploader)

[![Latest Stable Version](https://camo.githubusercontent.com/7c3bccd7721f305876b9518257483e7ef5b5d2e4ddc117798e2c998249a718b1/68747470733a2f2f706f7365722e707567782e6f72672f736f6b696c2f7068702d75706c6f61642f762f737461626c652e706e67)](https://packagist.org/packages/sokil/php-upload)[![Build Status](https://camo.githubusercontent.com/17b752996d00ca0b9c6d1669b51ab8060c905caaee1294fa8bcbfd45f2eda215/68747470733a2f2f7472617669732d63692e6f72672f736f6b696c2f7068702d75706c6f61642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sokil/php-upload)[![Coverage Status](https://camo.githubusercontent.com/45c3a8bf196b9779d42f43970a5bc23142a4523c6e6c190ef12362fc4f244123/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f736f6b696c2f7068702d75706c6f61642f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/sokil/php-upload?branch=master)

- [Installation](#installation)
- [Related packages](#related-packages)
- [Quick start](#quick-start)
- [Nginx configuration](#nginx-configuration)
    - [Using upload\_module and upload\_progress\_module (nginx &lt; 1.3.9)](#using-upload_module-and-upload_progress_module-nginx--139)
    - [Using client\_body\_in\_file\_only directive](#using-client_body_in_file_only-directive)

Installation
------------

[](#installation)

You can install library through Composer:

```
{
    "require": {
        "sokil/php-upload": "dev-master"
    }
}
```

Related packages
----------------

[](#related-packages)

-  - frontend component. Implements uploading wile without reloading page with upload progress
-  - Sandbox to test backend (this library) and frontend (). To start testing just clone repo and start server.
-  - Symfony bundle

Quick start
-----------

[](#quick-start)

First create HTML:

```

```

Then add PHP code to upload action to upload file to local system:

```
