PHPackages                             bgcc/sf-select2-widgets-plugin - 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. bgcc/sf-select2-widgets-plugin

ActiveSymfony1-plugin[Utility &amp; Helpers](/categories/utility)

bgcc/sf-select2-widgets-plugin
==============================

Select 2 Widgets for Symfony 1

1.0.2(12y ago)61.6k3[1 issues](https://github.com/19Gerhard85/sfSelect2WidgetsPlugin/issues)GPL-2.0JavaScript

Since Oct 14Pushed 10y ago3 watchersCompare

[ Source](https://github.com/19Gerhard85/sfSelect2WidgetsPlugin)[ Packagist](https://packagist.org/packages/bgcc/sf-select2-widgets-plugin)[ RSS](/packages/bgcc-sf-select2-widgets-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

sfSelect2WidgetsPlugin
======================

[](#sfselect2widgetsplugin)

[![License](https://camo.githubusercontent.com/52d4a9b2bf190e02b54f9ac2f5fd7e0bb4a4ebc9898a2157c043be69bade928b/68747470733a2f2f706f7365722e707567782e6f72672f626763632f73662d73656c656374322d776964676574732d706c7567696e2f6c6963656e73652e706e67)](https://packagist.org/packages/bgcc/sf-select2-widgets-plugin)[![Total Downloads](https://camo.githubusercontent.com/775871ac89a9b94ebe0bb8394eb3eda284bc3b7fe2e0fc6ced79fbe7ab4fb8fc/68747470733a2f2f706f7365722e707567782e6f72672f626763632f73662d73656c656374322d776964676574732d706c7567696e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/bgcc/sf-select2-widgets-plugin)[![Monthly Downloads](https://camo.githubusercontent.com/a2d4e32039004654b377a68f245127e4d75d9d3fba157ebc42a7badb5638f097/68747470733a2f2f706f7365722e707567782e6f72672f626763632f73662d73656c656374322d776964676574732d706c7567696e2f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/bgcc/sf-select2-widgets-plugin)[![Daily Downloads](https://camo.githubusercontent.com/b5e1e41ba61c590389d3a291a9135eeefae9f18a3ce44a98d0b940652c4e9ee3/68747470733a2f2f706f7365722e707567782e6f72672f626763632f73662d73656c656374322d776964676574732d706c7567696e2f642f6461696c792e706e67)](https://packagist.org/packages/bgcc/sf-select2-widgets-plugin)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/036cae886c6d86bbf892b5341cc9feee5cb1bfdb58ca16f38bf5854c8e38d007/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f31394765726861726438352f736653656c6563743257696467657473506c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/19Gerhard85/sfSelect2WidgetsPlugin/?branch=master)

Description
-----------

[](#description)

The `sfSelect2WidgetsPlugin` is a symfony 1.2 / 1.3 / 1.4 plugin that provides several form widgets with `Select2` functionality. Following widgets are included:

- I18n Choice Country
- I18n Choice Currency
- I18n Choice Language
- Autocomplete (for [Propel ORM](https://github.com/propelorm/sfPropelORMPlugin))
- Choice
- Propel Choice (for [Propel ORM](https://github.com/propelorm/sfPropelORMPlugin))

Requirements
------------

[](#requirements)

- symfony 1.2 / 1.3 / 1.4
- [jQuery](https://github.com/jquery/jquery), see [Select2](https://github.com/ivaynberg/select2) for the latest supported version
- Optional: [Propel ORM](https://github.com/propelorm/sfPropelORMPlugin)

Installation via Composer
-------------------------

[](#installation-via-composer)

```
{
    "require": {
        "bgcc/sf-select2-widgets-plugin": "dev-master"
    }
}
```

Installation via Git
--------------------

[](#installation-via-git)

- Install the plugin and init submodule

    ```
    $ git submodule add git://github.com/19Gerhard85/sfSelect2WidgetsPlugin.git plugins/sfSelect2WidgetsPlugin
    $ git submodule update --init --recursive

    ```
- Enable the plugin in your `/config/ProjectConfiguration.class.php`

    ```
    $this->enablePlugins('sfSelect2WidgetsPlugin');
    ```
- Publish assets

    ```
    $ ./symfony plugin:publish-assets

    ```
- Clear you cache

    ```
    $ ./symfony cc

    ```

Installation via SVN
--------------------

[](#installation-via-svn)

- Install the plugin and Select2 JavaScript library

    ```
    $ svn propedit svn:externals plugins
    Enter (without quotes) "sfSelect2WidgetsPlugin https://github.com/19Gerhard85/sfSelect2WidgetsPlugin/trunk"
    $ svn update
    $ svn propedit svn:externals plugins/sfSelect2WidgetsPlugin/web
    Enter (without quotes) "select2 https://github.com/ivaynberg/select2/trunk"
    $ svn update

    ```
- Enable the plugin in your `/config/ProjectConfiguration.class.php`

    ```
    $this->enablePlugins('sfSelect2WidgetsPlugin');
    ```
- Publish assets

    ```
    $ ./symfony plugin:publish-assets

    ```
- Clear you cache

    ```
    $ ./symfony cc

    ```

Usage
-----

[](#usage)

Coming soon...

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~25 days

Total

3

Last Release

4545d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04dd7729f97f3ddf2122bf4e0df7f084bfd6239047726fa1468bd575ff355826?d=identicon)[Tschebel](/maintainers/Tschebel)

![](https://www.gravatar.com/avatar/625372d1e0b6d7ff980720af80b5abfa1a9073ac16bdf6e64d2154be5a51d787?d=identicon)[19Gerhard85](/maintainers/19Gerhard85)

---

Top Contributors

[![simitter](https://avatars.githubusercontent.com/u/340021?v=4)](https://github.com/simitter "simitter (10 commits)")[![19Gerhard85](https://avatars.githubusercontent.com/u/1492978?v=4)](https://github.com/19Gerhard85 "19Gerhard85 (2 commits)")[![hholzer](https://avatars.githubusercontent.com/u/338555?v=4)](https://github.com/hholzer "hholzer (2 commits)")

---

Tags

symfonyselect2

### Embed Badge

![Health badge](/badges/bgcc-sf-select2-widgets-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/bgcc-sf-select2-widgets-plugin/health.svg)](https://phpackages.com/packages/bgcc-sf-select2-widgets-plugin)
```

###  Alternatives

[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

123268.2k4](/packages/maba-webpack-bundle)[alsatian/form-bundle

Symfony form types to extend built-in types. Ideal for Select2 AJAX implementations.

1423.6k](/packages/alsatian-form-bundle)

PHPackages © 2026

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