PHPackages                             fsv/sortable-collection-type-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fsv/sortable-collection-type-bundle

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

fsv/sortable-collection-type-bundle
===================================

Symfony sortable collection form type

0.1.1(9y ago)02.0k2MITPHPPHP &gt;=5.5.9

Since Mar 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sergeyfedotov/symfony-sortable-collection-type-bundle)[ Packagist](https://packagist.org/packages/fsv/sortable-collection-type-bundle)[ RSS](/packages/fsv-sortable-collection-type-bundle/feed)WikiDiscussions master Synced 4w ago

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

FsvSortableCollectionTypeBundle
===============================

[](#fsvsortablecollectiontypebundle)

[![Build Status](https://camo.githubusercontent.com/4608c70c6ceeccc966d4cf1e4944488fd99eab4cbf09d49ed03e2aa844141254/68747470733a2f2f7472617669732d63692e6f72672f7365726765796665646f746f762f73796d666f6e792d736f727461626c652d636f6c6c656374696f6e2d747970652d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sergeyfedotov/symfony-sortable-collection-type-bundle)

The bundle is used to sort the `FormView` objects in the `CollectionType`. Sorting is based on the value of the specified property. The property is determined by the property path in the format of the [Symfony PropertyAccess](https://github.com/symfony/property-access) component.

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

[](#installation)

```
$ composer require fsv/sortable-collection-type-bundle

```

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Fsv\SortableCollectionTypeBundle\FsvSortableCollectionTypeBundle(),
    );
}
```

Configuration
-------------

[](#configuration)

The bundle does not have any configurable parameters.

Usage
-----

[](#usage)

```
// AppBundle\Form\Type\ExampleFormType.php

public function buildForm(FormBuilderInterface $builder, array $options)
{
    $builder->add('collection', CollectionType::class, [
        // ...
        'sort_by' => [
            'property' => 'asc'
        ]
    ]);
    // ...
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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 ~326 days

Total

2

Last Release

3423d ago

### Community

Maintainers

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

---

Top Contributors

[![sergeyfedotov](https://avatars.githubusercontent.com/u/2290214?v=4)](https://github.com/sergeyfedotov "sergeyfedotov (14 commits)")

---

Tags

symfonytypeSymfony2collectionsortableformsymfony3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fsv-sortable-collection-type-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fsv-sortable-collection-type-bundle/health.svg)](https://phpackages.com/packages/fsv-sortable-collection-type-bundle)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36418.3M23](/packages/aws-aws-sdk-php-symfony)[shapecode/hidden-entity-type-bundle

Hidden field for Symfony entities

28441.3k1](/packages/shapecode-hidden-entity-type-bundle)[abdielcs/expanded-collection-bundle

Symfony 2 and 3 bundle for rendering a collection of entities as an expanded selectable list

1210.1k](/packages/abdielcs-expanded-collection-bundle)[damianociarla/select-city-form-field-bundle

This Bundle provides a new form field that renders three select 'Country, Region, City' for Symfony2

101.9k](/packages/damianociarla-select-city-form-field-bundle)

PHPackages © 2026

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