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)571.4k—4.8%12BSD-3-ClausePHPPHP &gt;=7.4

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 1mo ago

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

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community14

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

853d 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

[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)[symfony/ux-toggle-password

Toggle visibility of password inputs for Symfony Forms

26508.0k5](/packages/symfony-ux-toggle-password)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)

PHPackages © 2026

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