PHPackages                             yongtiger/js-ajaxfileupload - 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. yongtiger/js-ajaxfileupload

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

yongtiger/js-ajaxfileupload
===========================

1.0.0(9y ago)2499↓50%1MITJavaScript

Since Feb 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/yongtiger/js-ajaxfileupload)[ Packagist](https://packagist.org/packages/yongtiger/js-ajaxfileupload)[ Docs](http://www.branbook.cc)[ RSS](/packages/yongtiger-js-ajaxfileupload/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

js-ajaxfileupload release version 1.0.0
=======================================

[](#js-ajaxfileupload-release-version-100)

Improved [carlcarl/AjaxFileUpload](https://github.com/carlcarl/AjaxFileUpload) and fixed some bugs.

[![Latest Stable Version](https://camo.githubusercontent.com/f13474b149af2bfeb7632a25066bc08c588a06674b05b680e6ae607111f1915e/68747470733a2f2f706f7365722e707567782e6f72672f796f6e6774696765722f6a732d616a617866696c6575706c6f61642f762f737461626c65)](https://packagist.org/packages/yongtiger/js-ajaxfileupload)[![Total Downloads](https://camo.githubusercontent.com/c1ae0b3e965c4ddc9224a56f7c1ad1b28e56c0e5feda34709de21d14a19d98a1/68747470733a2f2f706f7365722e707567782e6f72672f796f6e6774696765722f6a732d616a617866696c6575706c6f61642f646f776e6c6f616473)](https://packagist.org/packages/yongtiger/js-ajaxfileupload)[![Latest Unstable Version](https://camo.githubusercontent.com/c4512df31382c26ae057c1bbfaf1767354da9bf282e4df359d33b7c5c88d468e/68747470733a2f2f706f7365722e707567782e6f72672f796f6e6774696765722f6a732d616a617866696c6575706c6f61642f762f756e737461626c65)](https://packagist.org/packages/yongtiger/js-ajaxfileupload)[![License](https://camo.githubusercontent.com/d1434e3cbbca80b13493c60bf1e4a4f3ffeeb1961379151c848505d44365900f/68747470733a2f2f706f7365722e707567782e6f72672f796f6e6774696765722f6a732d616a617866696c6575706c6f61642f6c6963656e7365)](https://packagist.org/packages/yongtiger/js-ajaxfileupload)

Features
--------

[](#features)

- add `handleError`
- add `start` and `beforeSend` local callbacks of events
- fix ie9 and ie 10
- fix bugs: confict with yii.js(350)

Example:
--------

[](#example)

```
ajaxFileUpload: function () {
    $.ajaxFileUpload({
        url: '',      // MUST!
        secureuri: false,       // MUST!
        fileElementId:'', // MUST!
        type: 'post',           // MUST!
        data: '',    // MUST!
        dataType: 'json',       // MUST! `json`, `xml`, etc.

        // optional
        start: function () {
            // ...
        },

        // optional
        beforeSend: function () {
            // ...
        },

        // optional
        success: function (data, status) {
            // ...
        },

        // optional
        error: function (XMLHttpRequest, textStatus, errorThrown) {
            // ...
        },

        // optional
        complete: function () {
            // ...
        }
    });
},
```

References
----------

[](#references)

-

See also
--------

[](#see-also)

-
- [http://www.oschina.net/question/1246890\_142999](http://www.oschina.net/question/1246890_142999)
-
-

License
-------

[](#license)

**ajaxfileupload** is released under the MIT license, see [LICENSE](https://opensource.org/licenses/MIT) file for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4419bd4781ece5b372f87972d5559c6a9ff305d8600fcf99409ce072922b9771?d=identicon)[yongtiger](/maintainers/yongtiger)

---

Tags

fileuploadajaxajaxfileupload

### Embed Badge

![Health badge](/badges/yongtiger-js-ajaxfileupload/health.svg)

```
[![Health](https://phpackages.com/badges/yongtiger-js-ajaxfileupload/health.svg)](https://phpackages.com/packages/yongtiger-js-ajaxfileupload)
```

###  Alternatives

[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k7.9M13](/packages/kartik-v-bootstrap-fileinput)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.5M71](/packages/sonata-project-media-bundle)[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2286.8M95](/packages/kartik-v-yii2-widget-fileinput)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[czim/laravel-paperclip

Laravel Eloquent file attachment solution

80802.1k6](/packages/czim-laravel-paperclip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
