PHPackages                             becklyn/ordered-form-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. becklyn/ordered-form-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

becklyn/ordered-form-bundle
===========================

This bundle adds functionality for ordering form elements

1.4.0(2y ago)591.0k↓19.8%12BSD-3-ClausePHPPHP &gt;=7.4CI failing

Since Feb 15Pushed 2y agoCompare

[ Source](https://github.com/Becklyn/OrderedFormBundle)[ Packagist](https://packagist.org/packages/becklyn/ordered-form-bundle)[ Docs](https://github.com/Becklyn/OrderedFormBundle)[ RSS](/packages/becklyn-ordered-form-bundle/feed)WikiDiscussions 1.x Synced today

READMEChangelog (10)Dependencies (6)Versions (13)Used By (2)

Ordered Form Bundle
===================

[](#ordered-form-bundle)

A bundle that makes form fields sortable.

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

[](#installation)

```
composer require becklyn/ordered-form-bundle
```

Usage
-----

[](#usage)

This bundle adds a new form option called `position`:

```
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

class SomeForm extends AbstractType
{
    /**
     * @inheritDoc
     */
    public function buildForm (FormBuilderInterface $builder, array $options) : void
    {
        $builder
            ->add("field", null, [
                "position" => /* some value */
            ]);
    }
}
```

The supported values are:

ValueDescription`"position" => "first"`Places the element as the first element in the form.`"position" => "last"`Places the element as the last element in the form.`"position" => 42`A simple sort order (the lower the number, the more at the top it is). Works with any integer.`"position" => ["before" => "otherfield"]`Places the field before another one.`"position" => ["after" => "otherfield"]`Places the field after another one.Caveats
-------

[](#caveats)

This bundle focuses on speed, so the sorting is not perfect. As it is pretty easy to create a conflicting, this bundle tries a best-effort sorting, but this implies:

- A `first` field isn't guaranteed to be the first one (eg. if there are multiple `first`).
- `before` and `after` only guarantee the relative order, not how big the distance is between these fields (it tries to place them immediately next to each other).

If the configuration of the form is sensible and conflict-free, then the order will work as expected.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~177 days

Total

12

Last Release

899d ago

PHP version history (3 changes)1.0.0PHP ^7.1

1.2.1PHP ^7.1|^8.0

1.3.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1044355?v=4)[Becklyn Studios](/maintainers/becklyn)[@Becklyn](https://github.com/Becklyn)

---

Top Contributors

[![klapaudius](https://avatars.githubusercontent.com/u/610451?v=4)](https://github.com/klapaudius "klapaudius (4 commits)")[![rafaelsouzaf](https://avatars.githubusercontent.com/u/3885152?v=4)](https://github.com/rafaelsouzaf "rafaelsouzaf (4 commits)")[![apfelbox](https://avatars.githubusercontent.com/u/1032411?v=4)](https://github.com/apfelbox "apfelbox (2 commits)")

---

Tags

formsphpsymfonysymfony-bundle

### Embed Badge

![Health badge](/badges/becklyn-ordered-form-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/becklyn-ordered-form-bundle/health.svg)](https://phpackages.com/packages/becklyn-ordered-form-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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