PHPackages                             fsi/admin-positionable-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. [Admin Panels](/categories/admin)
4. /
5. fsi/admin-positionable-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

fsi/admin-positionable-bundle
=============================

FSi admin positionable bundle.

2.1.0(7y ago)113.9k7[1 issues](https://github.com/fsi-open/admin-positionable-bundle/issues)MITPHPPHP &gt;=7.1

Since Feb 23Pushed 5y ago5 watchersCompare

[ Source](https://github.com/fsi-open/admin-positionable-bundle)[ Packagist](https://packagist.org/packages/fsi/admin-positionable-bundle)[ RSS](/packages/fsi-admin-positionable-bundle/feed)WikiDiscussions master Synced 1w ago

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

FSiAdminPositionableBundle
==========================

[](#fsiadminpositionablebundle)

This bundle provides way to change position of item on the list gradually. This mean that position will be changed by 1.

`FSiAdminPositionableBundle` works with conjunction with [Sortable behavior extension for Doctrine2](https://github.com/l3pp4rd/DoctrineExtensions/blob/master/doc/sortable.md)

Usage
-----

[](#usage)

Add to `AppKernel.php`:

```
new FSi\Bundle\AdminPositionableBundle\FSiAdminPositionableBundle(),
```

Add routes to `/app/config/routing.yml`:

```
_fsi_positionable:
    resource: "@FSiAdminPositionableBundle/Resources/config/routing/positionable.xml"
    prefix:   /admin
```

Sample entity:

**Note:** **@Gedmo\\Mapping\\Annotation\\SortablePosition** points column to store **position** index

```
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use FSi\Bundle\AdminPositionableBundle\Model\PositionableInterface;

class Promotion implements PositionableInterface
{
    /**
     * @Gedmo\SortablePosition
     * @ORM\Column(type="integer")
     */
    protected $position;

    /**
     * {@inheritdoc}
     */
    public function increasePosition()
    {
        $this->position++;
    }

    /**
     * {@inheritdoc}
     */
    public function decreasePosition()
    {
        $this->position--;
    }
}
```

**Note:** that `PositionableInterface` implementation is required

Sample datagrid definition:

```
columns:
  title:
    type: text
    options:
      display_order: 1
      label: "backend.promotions.datagrid.title.label"
  actions:
    type: action
    options:
      display_order: 2
      label: "backend.promotions.datagrid.actions.label"
      field_mapping: [ id ]
      actions:
        move_up:
          route_name: "fsi_admin_positionable_decrease_position"
          additional_parameters: { element: "promotions" }
          parameters_field_mapping: { id: id }
          content:
          url_attr: { class: "btn btn-warning btn-sm" }
        move_down:
          route_name: "fsi_admin_positionable_increase_position"
          additional_parameters: { element: "promotions" }
          parameters_field_mapping: { id: id }
          content:
          url_attr: { class: "btn btn-warning btn-sm" }
```

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity64

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

Recently: every ~143 days

Total

9

Last Release

2558d ago

Major Versions

1.1.x-dev → 2.0.x-dev2018-06-28

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.3

v1.1.0PHP &gt;=5.4

2.0.x-devPHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![szymach](https://avatars.githubusercontent.com/u/2230556?v=4)](https://github.com/szymach "szymach (24 commits)")[![rn0](https://avatars.githubusercontent.com/u/15381?v=4)](https://github.com/rn0 "rn0 (18 commits)")[![chives](https://avatars.githubusercontent.com/u/1170578?v=4)](https://github.com/chives "chives (16 commits)")[![norberttech](https://avatars.githubusercontent.com/u/1921950?v=4)](https://github.com/norberttech "norberttech (7 commits)")[![Wasper](https://avatars.githubusercontent.com/u/2331349?v=4)](https://github.com/Wasper "Wasper (2 commits)")[![kuba88olek](https://avatars.githubusercontent.com/u/6972487?v=4)](https://github.com/kuba88olek "kuba88olek (2 commits)")[![bartekgruszka](https://avatars.githubusercontent.com/u/8686375?v=4)](https://github.com/bartekgruszka "bartekgruszka (2 commits)")[![JarekW](https://avatars.githubusercontent.com/u/4487772?v=4)](https://github.com/JarekW "JarekW (1 commits)")

---

Tags

symfonybundleadminpositionfsipositionable

### Embed Badge

![Health badge](/badges/fsi-admin-positionable-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fsi-admin-positionable-bundle/health.svg)](https://phpackages.com/packages/fsi-admin-positionable-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M414](/packages/easycorp-easyadmin-bundle)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k257.3M12.2k](/packages/symfony-framework-bundle)[shopware/storefront

Storefront for Shopware

674.7M273](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M650](/packages/shopware-core)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k190.0M2.5k](/packages/symfony-security-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M766](/packages/sylius-sylius)

PHPackages © 2026

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