PHPackages                             slad/useful-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. slad/useful-bundle

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

slad/useful-bundle
==================

Symfony ShtumiUsefulBundle

1.0(9y ago)029MITJavaScriptPHP &gt;=5.3.2

Since Dec 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/stephylee/SladUsefulBundle)[ Packagist](https://packagist.org/packages/slad/useful-bundle)[ RSS](/packages/slad-useful-bundle/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

SladUsefulBundle - make typical things easier
=============================================

[](#sladusefulbundle---make-typical-things-easier)

SladUsefulBundle provides some useful things that needed almost in every project. It's:

**Form types**:

- [Ajax Autocomplete form type](https://github.com/stephylee/SladUsefulBundle/blob/master/Resources/doc/ajax_autocomplete.rst) (useful when you operate with thousands and hundred thousands records \[for instance: users\])
- [Dependent filtered form type](https://github.com/stephylee/SladUsefulBundle/blob/master/Resources/doc/dependent_filtered_entity.rst) (useful when you need operate dependent entities in one form (for instance: countries/regions))
- [Date range form type](https://github.com/stephylee/SladUsefulBundle/blob/master/Resources/doc/daterange.rst) (allows you select date range with JS calendar and take valid DateRange object)

**[DQL extra functions](https://github.com/shtumi/ShtumiUsefulBundle/blob/master/Resources/doc/dql_functions.rst)**:

- IF
- IFNULL
- ROUND
- DATE\_DIFF

You can use Ajax autocomplete form type as a filter type with [SonataAdminBundle](https://github.com/sonata-project/SonataAdminBundle)

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

[](#installation)

### Add the following lines to your `composer` file and then run `composer update`:

[](#add-the-following-lines-to-your--composer-file-and-then-run-composer-update)

```
"slad/useful-bundle": "1.0.x-dev"

```

You also should install [SonataAdminBundle](https://github.com/sonata-project/SonataAdminBundle) and all dependencies for it.

### Add SladUsefulBundle to your application kernel

[](#add-sladusefulbundle-to-your-application-kernel)

```
    // app/AppKernel.php
    public function registerBundles()
    {
        return array(
            // ...
            new Slad\UsefulBundle\ShtumiUsefulBundle(),
            // ...
        );
    }

```

### Import routes

[](#import-routes)

// app/config/routing.yml

```
slad_useful:
    resource: '@SladUsefulBundle/Resources/config/routing.xml'

```

### Update your configuration

[](#update-your-configuration)

#### Add form theming to twig

[](#add-form-theming-to-twig)

```
twig:
    ...
    form:
        resources:
            - SladUsefulBundle::fields.html.twig

```

Update your configuration in accordance with [using SladUsefulBundle things](https://github.com/stephylee/SladUsefulBundle/blob/master/Resources/doc/index.rst)

### Load jQuery to your views

[](#load-jquery-to-your-views)

```

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

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

Total

3

Last Release

3632d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1814624?v=4)[stephylee](/maintainers/stephylee)[@stephylee](https://github.com/stephylee)

---

Top Contributors

[![stephylee](https://avatars.githubusercontent.com/u/1814624?v=4)](https://github.com/stephylee "stephylee (29 commits)")[![shtumi](https://avatars.githubusercontent.com/u/604334?v=4)](https://github.com/shtumi "shtumi (26 commits)")[![demo-git](https://avatars.githubusercontent.com/u/9656054?v=4)](https://github.com/demo-git "demo-git (12 commits)")[![smoya](https://avatars.githubusercontent.com/u/1083296?v=4)](https://github.com/smoya "smoya (4 commits)")[![planimmobilier](https://avatars.githubusercontent.com/u/17745699?v=4)](https://github.com/planimmobilier "planimmobilier (2 commits)")[![raphaelm](https://avatars.githubusercontent.com/u/64280?v=4)](https://github.com/raphaelm "raphaelm (2 commits)")[![mahi1881](https://avatars.githubusercontent.com/u/1658662?v=4)](https://github.com/mahi1881 "mahi1881 (2 commits)")[![pabloveintimilla](https://avatars.githubusercontent.com/u/31135?v=4)](https://github.com/pabloveintimilla "pabloveintimilla (1 commits)")[![toothfairy](https://avatars.githubusercontent.com/u/725806?v=4)](https://github.com/toothfairy "toothfairy (1 commits)")[![CedCannes](https://avatars.githubusercontent.com/u/2522998?v=4)](https://github.com/CedCannes "CedCannes (1 commits)")[![vhpoet](https://avatars.githubusercontent.com/u/686185?v=4)](https://github.com/vhpoet "vhpoet (1 commits)")[![ddumbrava-testbirds](https://avatars.githubusercontent.com/u/284878388?v=4)](https://github.com/ddumbrava-testbirds "ddumbrava-testbirds (1 commits)")[![grifx](https://avatars.githubusercontent.com/u/1662628?v=4)](https://github.com/grifx "grifx (1 commits)")[![inelgnu](https://avatars.githubusercontent.com/u/665908?v=4)](https://github.com/inelgnu "inelgnu (1 commits)")[![maikelohcfg](https://avatars.githubusercontent.com/u/939605?v=4)](https://github.com/maikelohcfg "maikelohcfg (1 commits)")[![mewlabs](https://avatars.githubusercontent.com/u/1019853?v=4)](https://github.com/mewlabs "mewlabs (1 commits)")[![nucleartux](https://avatars.githubusercontent.com/u/199706?v=4)](https://github.com/nucleartux "nucleartux (1 commits)")

---

Tags

Ajax Autocomplete form typeDependent filtered form typedaterangeshtumi

### Embed Badge

![Health badge](/badges/slad-useful-bundle/health.svg)

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

###  Alternatives

[shtumi/useful-bundle

Symfony ShtumiUsefulBundle

11099.7k](/packages/shtumi-useful-bundle)

PHPackages © 2026

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