PHPackages                             webfox/silverstripe-dropzone-sortable - 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. webfox/silverstripe-dropzone-sortable

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

webfox/silverstripe-dropzone-sortable
=====================================

A Silverstripe extension to add drag/drop sorting to FileAttachmentField

v1.0.2(10y ago)28623[3 PRs](https://github.com/webfox/silverstripe-dropzone-sortable/pulls)MITPHPPHP &gt;=5.4

Since Nov 24Pushed 10y ago3 watchersCompare

[ Source](https://github.com/webfox/silverstripe-dropzone-sortable)[ Packagist](https://packagist.org/packages/webfox/silverstripe-dropzone-sortable)[ RSS](/packages/webfox-silverstripe-dropzone-sortable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Note:
=====

[](#note)

> Currently waiting on a pull request merge [unclecheese/silverstripe-dropzone#34](https://github.com/unclecheese/silverstripe-dropzone/pull/34) before this is
> functional. Until this is merged if you would like to use this module then use the fork this pull request references.

\#Silverstripe Dropzone Sortable# This plugin allows drag/drop sorting via `FileAttachmentField` from the dropzone package.

Installation Instructions
=========================

[](#installation-instructions)

Composer
--------

[](#composer)

Run the following to add this module as a requirement and install it via composer.

```
composer require "webfox/silverstripe-dropzone-sortable"

```

Setup
=====

[](#setup)

Setting up the Relation
-----------------------

[](#setting-up-the-relation)

We need a `SortOrder` column on the Image/File relation that `FileAttachmentField` is hooked onto.
For a has\_many to a custom `DataObject` simply add the `'SortOrder' => 'int'` and `private static $default_sort = 'SortOrder';` to the DataObject.

If you are relating to `Image` or `File` directly then you will need a `many_many` setup with `many_many_extrafields` and an accessor to loop over in the template
`...` or you can do `...`. This package will automatically sort the files in the FileAttachmentField.

Here is an example `many_many` setup:

```
class MyPage extends Page {

    private static $many_many = [
        'Images' => 'Image'
    ];

    private static $many_many_extraFields = [
        'Images' => ['SortOrder' => 'Int']
    ];

    public function getSortedImages(){
        return $this->Images()->sort('SortOrder');
    }
}
```

Enabling Sorting
----------------

[](#enabling-sorting)

To enable sorting simply call `->sortable()` on the `FileAttachmentField` e.g. `FileAttachmentField::create('Images')->sortable()->imagesOnly();`

Customization
-------------

[](#customization)

The only customization available is changing the sort column. `FileAttachmentField::create('Images')->sortable()->setSortableColumn('OtherSortColumn');`

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~30 days

Total

3

Last Release

3758d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89a3fc3149eeb34725cdbe81bee9adc4a9db23425ef3595a3a115a4f23c813ea?d=identicon)[foxbytehq](/maintainers/foxbytehq)

---

Top Contributors

[![hailwood](https://avatars.githubusercontent.com/u/709773?v=4)](https://github.com/hailwood "hailwood (4 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (2 commits)")

---

Tags

silverstripesortablewebfoxdropzone

### Embed Badge

![Health badge](/badges/webfox-silverstripe-dropzone-sortable/health.svg)

```
[![Health](https://phpackages.com/badges/webfox-silverstripe-dropzone-sortable/health.svg)](https://phpackages.com/packages/webfox-silverstripe-dropzone-sortable)
```

###  Alternatives

[oneup/uploader-bundle

This Symfony bundle provides a server implementation for handling single and multiple file uploads using either FineUploader, jQuery File Uploader, YUI3 Uploader, Uploadify, FancyUpload, MooUpload, Plupload or Dropzone. Features include chunked uploads, orphanages, Gaufrette and Flysystem support.

6066.3M27](/packages/oneup-uploader-bundle)[bummzack/sortablefile

An extension for SilverStripe that adds sorting to UploadField.

70622.7k54](/packages/bummzack-sortablefile)[unclecheese/silverstripe-kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

4728.3k1](/packages/unclecheese-silverstripe-kickassets)[perminder-klair/yii2-dropzone

DropzoneJs Extention for Yii2

50240.4k1](/packages/perminder-klair-yii2-dropzone)[unclecheese/kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

484.0k](/packages/unclecheese-kickassets)[silverstripe/s3

Adds SilverStripe support for using the S3 adapter for Flysystem

20297.0k1](/packages/silverstripe-s3)

PHPackages © 2026

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