PHPackages                             victoire/search-widget - 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. [Search &amp; Filtering](/categories/search)
4. /
5. victoire/search-widget

AbandonedSymfony-bundle[Search &amp; Filtering](/categories/search)

victoire/search-widget
======================

Victoire Search widget

2.0.6(7y ago)51.5k5[3 issues](https://github.com/Victoire/WidgetSearchBundle/issues)MITPHP

Since Oct 31Pushed 7y ago13 watchersCompare

[ Source](https://github.com/Victoire/WidgetSearchBundle)[ Packagist](https://packagist.org/packages/victoire/search-widget)[ RSS](/packages/victoire-search-widget/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (3)Versions (16)Used By (0)

[![CircleCI](https://camo.githubusercontent.com/6bf05d5de9d2e94794442e5a2047b2fa2b26e01ce65b736e58d8afa02e0aaa4d/68747470733a2f2f636972636c6563692e636f6d2f67682f566963746f6972652f57696467657453656172636842756e646c652e7376673f7374796c653d736869656c64)](https://circleci.com/gh/Victoire/WidgetSearchBundle)

Victoire Search Bundle
======================

[](#victoire-search-bundle)

What is the purpose of this bundle
----------------------------------

[](#what-is-the-purpose-of-this-bundle)

This bundles gives you access to the *Search Widget* which is a search bar that can find any text.

It works with elastica and searches automatically in every searchable widget (thanks to the widget's embedded configuration). You place an emitter spot (i.e : the search bar) and define the result page where you'll place a receiver spot.

Specific search within BusinessEntities
---------------------------------------

[](#specific-search-within-businessentities)

If you want to search your BusinessEntities, you'll have to define your own configuration for your BusinessEntities:

```
fos_elastica:
    clients:
        default: { host: 127.0.0.1, port: 9200 }
    serializer:
        callback_class: FOS\ElasticaBundle\Serializer\Callback
        serializer: serializer
    indexes:
        # Widgets are automatically indexed by using 'victoire_search_widgets_index' parameter
        # You can override Widgets indexation configuration
        widgets: %victoire_search_widgets_index%
        # Pages are automatically indexed by using 'victoire_search_pages_index' parameter
        # You can override Pages indexation configuration
        pages: %victoire_search_pages_index%
        # You need to define the business entities you wish to index here
        business:
            types:
                Jedi:
                    serializer:
                        groups: [search]
                    mappings:
                        title: ~
                        city: ~
                        description: ~
                        contractType: ~
                        subtitle: ~
                    persistence:
                        driver: orm
                        model:  Acme\DemoBundle\Entity\Jedi
                        provider: ~
                        listener: ~
                        finder: ~
```

Initialize elasticsearch mapping
--------------------------------

[](#initialize-elasticsearch-mapping)

In order to have a relevant elasticsearch mapping, you need to run the following command before running any query:

```
console fos:elastica:reset
```

Set Up Victoire
---------------

[](#set-up-victoire)

If you haven't already, you can follow the steps to set up Victoire *[here](https://github.com/Victoire/victoire/blob/master/doc/setup.md)*

Install the bundle
------------------

[](#install-the-bundle)

Run the following composer command :

```
php composer.phar require victoire/search-widget

```

### Reminder

[](#reminder)

Do not forget to add the bundle in your AppKernel !

```
    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                ...
                new Victoire\Widget\SearchBundle\VictoireWidgetSearchBundle(),
                new FOS\ElasticaBundle\FOSElasticaBundle(),
            );

            return $bundles;
        }
    }
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~97 days

Recently: every ~86 days

Total

14

Last Release

2583d ago

Major Versions

1.3.x-dev → 2.0.02016-08-22

PHP version history (2 changes)1.3.0PHP &gt;=5.3.3

1.5PHP &gt;=5.5.9

### Community

Maintainers

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

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

---

Top Contributors

[![gregumo](https://avatars.githubusercontent.com/u/11725078?v=4)](https://github.com/gregumo "gregumo (36 commits)")[![paulandrieux](https://avatars.githubusercontent.com/u/1942078?v=4)](https://github.com/paulandrieux "paulandrieux (13 commits)")[![BFoucher](https://avatars.githubusercontent.com/u/16239924?v=4)](https://github.com/BFoucher "BFoucher (6 commits)")[![lenybernard](https://avatars.githubusercontent.com/u/618536?v=4)](https://github.com/lenybernard "lenybernard (5 commits)")

---

Tags

searchwidgetvictoire

### Embed Badge

![Health badge](/badges/victoire-search-widget/health.svg)

```
[![Health](https://phpackages.com/badges/victoire-search-widget/health.svg)](https://phpackages.com/packages/victoire-search-widget)
```

###  Alternatives

[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k178.3M943](/packages/elasticsearch-elasticsearch)[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[solarium/solarium

PHP Solr client

93532.7M98](/packages/solarium-solarium)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)

PHPackages © 2026

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