PHPackages                             bishwopl/zf3fileupload - 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. bishwopl/zf3fileupload

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

bishwopl/zf3fileupload
======================

Custom file upload element for zf3, supports filesystem and database storage(using DoctrineORM)

0.0.17(7y ago)0202PHPPHP ^5.6 || ^7

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bishwopl/zf3fileupload)[ Packagist](https://packagist.org/packages/bishwopl/zf3fileupload)[ Docs](https://github.com/bishwopl/file-upload)[ RSS](/packages/bishwopl-zf3fileupload/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (10)Versions (18)Used By (0)

(Not ready for production)

zf3fileupload
=============

[](#zf3fileupload)

Custom file upload element for zf3, supports filesystem and database storage(using DoctrineORM)

Requirements
============

[](#requirements)

- [php: ^5.6 || ^7.0](http://php.net/)
- [zendframework/zend-cache: ^2.7.1](https://github.com/zendframework/zend-cache)
- [zendframework/zend-mvc-form: ^1.0](https://github.com/zendframework/zend-mvc-form)
- [zendframework/zend-mvc-plugins: ^1.0.1](https://github.com/zendframework/zend-mvc-plugins)
- [zendframework/zend-session: ^2.7.1](https://github.com/zendframework/zend-session)
- [zendframework/zend-servicemanager-di: ^1.0](https://github.com/zendframework/zend-servicemanager-di)
- [zendframework/zend-file: ^2.7](https://github.com/zendframework/zend-file)
- [doctrine/doctrine-orm-module: ^1.1](https://github.com/doctrine/DoctrineORMModule)
- [ramsey/uuid: ^3.7](https://github.com/ramsey/uuid)
- [ramsey/uuid-doctrine: ^1.4](https://github.com/ramsey/uuid-doctrine)
- [masterexploder/phpthumb: ^2.1](https://github.com/masterexploder/phpthumb)
- [jquery form plugin](http://malsup.com/jquery/form/)
- [Bootstrap 3.\* ](https://getbootstrap.com/docs/3.3/)

Sample Element
==============

[](#sample-element)

```
    public function init()
    {
        $this->add([
            'type' => 'fileupload',
            'name' => 'start_date',
            'attributes' => [
                'formUniqueId'      => 'photo_',
                'id'                => 'photoPathId',
                'storage'           => 'db', // 'filesystem' or 'db
                'showProgress'      => TRUE,
                'multiple'          => TRUE,
                'enableRemove'      => TRUE,
                'uploadDir'         => 'data/UserData/',
                'icon'              => 'fa fa-upload',
                'successIcon'       => 'fa fa-pencil',
                'errorIcon'         => 'fa fa-remove',
                'class'             => 'btn btn-default',
                'uploadText'        => 'Upload Photo',
                'successText'       => 'Change Photo',
                'errorText'         => 'Try Again',
                'uploadingText'     => 'Uploading Photo...',
                'replacePrevious'   => TRUE,
                'randomizeName'     => TRUE,
                'showPreview'       => TRUE,
                'validator' => [
                    'allowedExtentions' => 'jpg,png',
                    'allowedMime'       => 'image/jpeg,image/png',
                    'minSize'           => 10,
                    'maxSize'           => 500*1024,
                    'image' => [
                        'minWidth'  => 0,
                        'minHeight' => 0,
                        'maxWidth'  => 1200,
                        'maxHeight' => 1000,
                    ],
                ],
                'crop' => [
                    'width'  => 200,
                    'height' => 200,
                ],
                'preview'=>[
                    'width'  => 100,
                    'height' => 100,
                ],
                'callback'=>[
                    //first callback must be as follows others can be configured as user desires
                    //[
                    //    'object'    => 'object',
                    //    'function'  => 'name of function to call',
                    //    'parameter' => 'name(s) with full path of file(s) uploaded eparated with comma '
                    //]
                ]
            ],
            'options' => [
                'label' => 'Abc',
            ],
        ]);
    }
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~7 days

Recently: every ~17 days

Total

17

Last Release

2892d ago

PHP version history (2 changes)0.0.0PHP ^5.6 || ^7.0

0.0.6PHP ^5.6 || ^7

### Community

Maintainers

![](https://www.gravatar.com/avatar/f065e591158a458e4a1889d08eb628be8785eaefc4f0fef3ab5e8ab11f44f923?d=identicon)[bishwopl](/maintainers/bishwopl)

---

Top Contributors

[![bishwopl](https://avatars.githubusercontent.com/u/12760131?v=4)](https://github.com/bishwopl "bishwopl (49 commits)")

---

Tags

customelementfile-uploadzf3formcustom-element

### Embed Badge

![Health badge](/badges/bishwopl-zf3fileupload/health.svg)

```
[![Health](https://phpackages.com/badges/bishwopl-zf3fileupload/health.svg)](https://phpackages.com/packages/bishwopl-zf3fileupload)
```

###  Alternatives

[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)[phery/phery

XAJAX alternative, phery.js is a library in PHP that maps to all jQuery functions, DOM manipulation, meta arguments and serialization, seamless ajax integration, RESTful emulation, form submission and partial rendering views, plus its PSR-0 compatible

13813.1k2](/packages/phery-phery)[presta/image-bundle

PrestaImageBundle is a Symfony bundle providing tools to resize uploaded and remote images before sending them through a classic form.

24155.9k](/packages/presta-image-bundle)[delight-im/file-upload

Simple and convenient file uploads — secure by default

7210.7k2](/packages/delight-im-file-upload)

PHPackages © 2026

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