PHPackages                             ekyna/ui-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. ekyna/ui-bundle

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

ekyna/ui-bundle
===============

Ui elements

0.9.x-dev(5mo ago)0707MITJavaScriptPHP &gt;=8.1

Since May 20Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/ekyna/UiBundle)[ Packagist](https://packagist.org/packages/ekyna/ui-bundle)[ Docs](https://github.com/ekyna/UiBundle)[ RSS](/packages/ekyna-ui-bundle/feed)WikiDiscussions 0.8 Synced 1mo ago

READMEChangelogDependencies (12)Versions (2)Used By (0)

TableBundle
===========

[](#tablebundle)

Table component integration.

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

[](#installation)

Install this package through composer:

```
composer require ekyna/table-bundle:0.7.x-dev

```

Register the bundle in your AppKernel:

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // other bundles ...
        new Ekyna\Bundle\TableBundle\EkynaTableBundle(),
    );

    return $bundles;
}
```

Example
-------

[](#example)

Given there is a **Brand** doctrine entity configured in the AcmeDemoBundle with a title field.

Create the table type:

```
// src/Acme/DemoBundle/Table/Type/BrandType.php
namespace Acme\DemoBundle\Table\Type;

use Acme\DemoBundle\Entity\Brand;
use Ekyna\Component\Table\AbstractTableType;
use Ekyna\Component\Table\Extension\Core\Type\Column;
use Ekyna\Component\Table\Extension\Core\Type\Filter;
use Ekyna\Component\Table\TableBuilderInterface;
use Ekyna\Component\Table\Bridge\Doctrine\ORM\Source\EntitySource;
use Symfony\Component\OptionsResolver\OptionsResolver;

class BrandType extends AbstractTableType
{
    public function buildTable(TableBuilderInterface $tableBuilder)
    {
        $tableBuilder
            ->addColumn('id', Column\NumberType::class)
            ->addColumn('title', Column\TextType::class, [
                'label' => 'Title',
            ])
            ->addFilter('id', Filter\NumberType::class)
            ->addFilter('title', Filter\TitleType::class, [
                'label' => 'Titre'
            ])
        ;
    }

    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'source' => new EntitySource(Brand::class)
        ));
    }
}
```

(optional) Register the table type as a service:

```

```

Usage in a controller:

```
// src/Acme/DemoBundle/Controller/BrandController.php
namespace Acme\Demo\Controller;

use Acme\DemoBundle\Table\Type\BrandType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;

class ResourceController extends Controller
{
    public function indexAction(Request $request)
    {
        $table = $this
            ->get('table.factory')
            ->createTable('brands', BrandType::class);

        if (null !== $response = $table->handleRequest($request)) {
            return $response;
        }

        return $this->render('@AcmeDemo/Brand/index.html.twig', array(
            'brands' => $table->createView(),
        ));
    }
}
```

Usage in a twig template:

```
# src/Acme/DemoBundle/Resources/views/Brand/index.html.twig

        {% block stylesheets %}

        {% endblock stylesheets %}

        {{ ekyna_table_render(brands) }}

        {% block javascripts %}

        {% endjavascripts %}

```

Customization
-------------

[](#customization)

The default template used to render the table is `vendor/ekyna/table-bundle/Ekyna/Bundle/TableBundle/Resources/views/table.html.twig`. It requires jQuery and Bootstrap 3.

You can create your own rendering template (where you will define all blocks of the default template) and use it this way

```
    {{ ekyna_table_render(brands, {'template': '@AcmeDemo/Table/render.html.twig'}) }}
```

What's next ?
-------------

[](#whats-next-)

- Templating engine with type/template hierarchy.
- Better export implementation.
- Tests.
- Demo repository.
- More doc.
- More sources.
- AJAX support.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

2

Last Release

154d ago

PHP version history (2 changes)0.8.x-devPHP &gt;=7.4

0.9.x-devPHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3483641?v=4)[Etienne Dauvergne](/maintainers/ekyna)[@ekyna](https://github.com/ekyna)

---

Top Contributors

[![ekyna](https://avatars.githubusercontent.com/u/3483641?v=4)](https://github.com/ekyna "ekyna (10 commits)")

---

Tags

symfonybundleui

### Embed Badge

![Health badge](/badges/ekyna-ui-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ekyna-ui-bundle/health.svg)](https://phpackages.com/packages/ekyna-ui-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[pentatrion/vite-bundle

Vite integration for your Symfony app

2755.3M13](/packages/pentatrion-vite-bundle)[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[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)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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