PHPackages                             secamedia/datatables-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. [API Development](/categories/api)
4. /
5. secamedia/datatables-form-bundle

ActiveSymfony-bundle[API Development](/categories/api)

secamedia/datatables-form-bundle
================================

Provides Form Types and Entities representing the DataTables AJAX Request.

v1.3(5y ago)0522WTFPLPHPPHP &gt;=5.5.9

Since Jun 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/secamedia/datatables-form-bundle)[ Packagist](https://packagist.org/packages/secamedia/datatables-form-bundle)[ Docs](http://secamedia.de/)[ RSS](/packages/secamedia-datatables-form-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

DataTables Form Types and Entities for AJAX Request
===================================================

[](#datatables-form-types-and-entities-for-ajax-request)

This is a Symfony Bundle to represent the DataTables Ajax Request Data into an entity via form types.

Installation via Composer
=========================

[](#installation-via-composer)

Install it via composer as a dependency:

`$ php composer.phar require secamedia/datatables-form-bundle`

Activation
==========

[](#activation)

Register the bundle in the kernel to activate the bundle.

```
    public function registerBundles()
    {
        $bundles = [
            ...
            new Sm\DatatablesFormBundle\SmDatatablesFormBundle(),
            ...
        ];
    }
```

How to use with DataTables ajax request
=======================================

[](#how-to-use-with-datatables-ajax-request)

To recognize the request data you have to move the datatables data into the key `datatables`:

```
$('table').DataTable({
    'ajax': {
        'url': '/ajax-request.php',
        'data': function (data) {
            // Move DataTables data into own key
            for (var d in data) {
                if (!data.hasOwnProperty(d)) {
                    continue;
                }
                data['datatables[' + d + ']'] = data[d];
                delete data[d];
            }
        },
        'type': 'POST'
    }
});
```

In your controller you can then create a form and set the entity to retrieve the data as an object:

```
use Sm\DatatablesFormBundle\Entity\DataTablesForm;
use Sm\DatatablesFormBundle\Form\Type\DataTablesFormType;
...
    public function someAction(Request $request)
    {
        $data = new DataTablesForm();
        $form = $this->createForm(DataTablesFormType::class, $data);
        $form->handleRequest($request);
        // use $data
    }
...
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

1995d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18289720?v=4)[SeCa Media](/maintainers/secamedia)[@secamedia](https://github.com/secamedia)

---

Top Contributors

[![secamedia-rudolph](https://avatars.githubusercontent.com/u/18288928?v=4)](https://github.com/secamedia-rudolph "secamedia-rudolph (7 commits)")

### Embed Badge

![Health badge](/badges/secamedia-datatables-form-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/ux-dropzone

File input dropzones for Symfony Forms

541.7M6](/packages/symfony-ux-dropzone)[symfony/ux-toggle-password

Toggle visibility of password inputs for Symfony Forms

27571.2k5](/packages/symfony-ux-toggle-password)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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