PHPackages                             jtmsa/jqgrid-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. jtmsa/jqgrid-bundle

ActiveSymfony-bundle

jtmsa/jqgrid-bundle
===================

Symfony bundle for a powerful ajax-enabled grid - jqGrid or free jqGrid.

v0.1(2y ago)033↓100%MITPHPPHP ^7.2||^8.0||^8.1||^8.2

Since Nov 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jtm-sa/jqgrid-bundle)[ Packagist](https://packagist.org/packages/jtmsa/jqgrid-bundle)[ RSS](/packages/jtmsa-jqgrid-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (10)Versions (2)Used By (0)

jqGrid Bundle for Symfony
=========================

[](#jqgrid-bundle-for-symfony)

Symfony bundle for a powerful ajax-enabled grid - [jqGrid](https://github.com/tonytomov/jqGrid) or [free jqGrid](https://github.com/free-jqgrid/jqGrid).

![Packagist](https://camo.githubusercontent.com/aeea8031108cef1f81c8b367c6f0f8e46e8f2521d874b6d3d568418ded30176b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68696d696b6c61622f6a71677269642d62756e646c652e737667) ![Packagist](https://camo.githubusercontent.com/23aa458c7bf9f04b6257066625534cad3a79bc6db1a5231a2ebff25784809c0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68696d696b6c61622f6a71677269642d62756e646c652e737667) ![license](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

- Either run

```
php composer.phar require --prefer-dist "himiklab/jqgrid-bundle" "*"

```

or add

```
"himiklab/jqgrid-bundle" : "*"
```

to the require section of your application's `composer.json` file. And registered `HimiklabJqGridBundle` in you application config.

- Assets

reqired: `jqgrid` or `free-jqgrid` with `jquery` of course optional: `@fortawesome/fontawesome-free` or `jquery-ui`, `bootstrap`

- Template

```
{% block stylesheets %}
    {{ encore_entry_link_tags('jqgrid') }}
{% endblock %}
{% block body %}

{% endblock %}
{% block javascripts %}
    {{ encore_entry_script_tags('jqgrid') }}

        $(document).ready(function () {
            $("#jqGrid-grid").jqGrid({
                //"guiStyle": "bootstrap4",
                "url": "{{ path('customer_jqgrid_read') }}",
                "datatype": "json",
                "mtype": "post",
                "pager": "#jqGrid-pager",
                "colNames": ["ID", "Name", "Surname", "Birthplace", "Birthdate"],
                "colModel": [
                    {{ jqgrid_colmodel(columns, columnsIsVisible, columnsIsEditable)|raw }}
                ],
                "rowNum": 30,
                "rowList": [30, 60],
                "multiselect": true,
                "multiSort": true,
                "viewrecords": true
                //"iconSet": "fontAwesomeSolid"
            })
                .navGrid('#jqGrid-pager', {
                        "edit": true,
                        "add": true,
                        "del": true,
                        "search": true,
                        "view": true
                    },
                    {
                        "url": "{{ path('customer_jqgrid_update') }}",
                        "afterSubmit": function (response) {
                            return [response.responseText === "", response.responseText, null];
                        }
                    },
                    {
                        "url": "{{ path('customer_jqgrid_create') }}",
                        "afterSubmit": function (response) {
                            return [response.responseText === "", response.responseText, null];
                        }
                    },
                    {"url": "{{ path('customer_jqgrid_delete') }}"},
                    {
                        "multipleSearch": true,
                        "multipleGroup": true,
                        "closeAfterSearch": true,
                        "showQuery": true,
                    },
                    {}
                )
                .filterToolbar({"stringResult": true});
        });

{% endblock %}
```

- Controller

```
use himiklab\JqGridBundle\JqGrid;

class CustomerController extends AbstractController
{
    private $jqgrid;

    public function __construct(JqGrid $jqgrid)
    {
        $this->jqgrid = $jqgrid
            ->setEntityName(Customer::class);
    }

    /**
     * @Route("/jqgrid", methods={"GET"})
     */
    public function index(): Response
    {
        $columns = [
            'id' => ['type' => 'int',],
            'fullName.name', 'fullName.surname', 'birthplace',
            'birthdate' => ['type' => 'date']
        ];
        $columnsIsVisible = ['id', 'fullName.name', 'fullName.surname', 'birthplace', 'birthdate'];
        $columnsIsEditable = ['fullName.name', 'fullName.surname', 'birthplace', 'birthdate'];

        return $this->render(
            'incoming/index.html.twig',
            ['columns' => $columns, 'columnsIsVisible' => $columnsIsVisible, 'columnsIsEditable' => $columnsIsEditable]
        );
    }

    /**
     * @Route("/jqgrid/read", methods={"POST"}, name="customer_jqgrid_read")
     */
    public function read(Request $request): Response
    {
        return $this->jqgrid->handleRead($request);
    }

    /**
     * @Route("/jqgrid/create", methods={"POST"}, name="customer_jqgrid_create")
     */
    public function create(Request $request): Response
    {
        return $this->jqgrid->handleCreate($request) ?: new Response();
    }

    /**
     * @Route("/jqgrid/update", methods={"POST"}, name="customer_jqgrid_update")
     */
    public function update(Request $request): Response
    {
        return $this->jqgrid->handleUpdate($request) ?: new Response();
    }

    /**
     * @Route("/jqgrid/delete", methods={"POST"}, name="customer_jqgrid_delete")
     */
    public function delete(Request $request): Response
    {
        $this->jqgrid->handleDelete($request);
        return new Response();
    }
}
```

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

844d ago

### Community

Maintainers

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

---

Top Contributors

[![jtmsa](https://avatars.githubusercontent.com/u/9197774?v=4)](https://github.com/jtmsa "jtmsa (6 commits)")

---

Tags

symfonybundlegridajaxjqgrid

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jtmsa-jqgrid-bundle/health.svg)

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

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k18.7M279](/packages/sonata-project-admin-bundle)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

44917.5M146](/packages/sonata-project-doctrine-orm-admin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M127](/packages/sulu-sulu)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4756.8M12](/packages/fresh-doctrine-enum-bundle)[orbitale/cms-bundle

A simple lightweight CMS bundle for Symfony

6343.1k](/packages/orbitale-cms-bundle)[stfalcon-studio/api-bundle

Base classes and helper services to build API application via Symfony.

1031.0k](/packages/stfalcon-studio-api-bundle)

PHPackages © 2026

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