PHPackages                             ics/websearch-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. ics/websearch-bundle

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

ics/websearch-bundle
====================

A new bundle for symfony

0.0.3(4y ago)05MITPHP

Since Oct 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/imperiumclansoftware/websearch-bundle)[ Packagist](https://packagist.org/packages/ics/websearch-bundle)[ RSS](/packages/ics-websearch-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Imperium Clan Software - Web Search Bundle
==========================================

[](#imperium-clan-software---web-search-bundle)

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

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require ics/websearch-bundle
```

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require ics/websearch-bundle
```

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    ICS\WebsearchBundle\WebsearchBundle::class => ['all' => true],
];
```

#### Step 3: Adding bundle routing

[](#step-3-adding-bundle-routing)

Add routes in applications `config/routes.yaml`

```
# config/routes.yaml

# ...
websearch_bundle:
    resource: '@WebsearchBundle/config/routes.yaml'
    prefix: /web/search
# ...
```

Usage
-----

[](#usage)

### Global search

[](#global-search)

```
    //...

    use ICS\WebsearchBundle\Service\QwantService;

    //...

    /**
    * @Route("/search",name="websearch")
    */
    public function search(QwantService $service)
    {
        $search = "Imperium Clan Software";

        $searchResults = $service->search($search);

        return $this->render('search.html.twig',[
            'results' => $searchResults,
        ]);
    }
```

### Web only search

[](#web-only-search)

```
    //...

    use ICS\WebsearchBundle\Service\QwantService;

    //...

    /**
    * @Route("/search",name="websearch")
    */
    public function search(QwantService $service)
    {
        $search = "Imperium Clan Software";

        $searchResults = $service->searchWeb($search);

        return $this->render('search.html.twig',[
            'results' => $searchResults,
        ]);
    }
```

### Images only search

[](#images-only-search)

```
    //...

    use ICS\WebsearchBundle\Service\QwantService;

    //...

    /**
    * @Route("/search",name="websearch")
    */
    public function search(QwantService $service)
    {
        $search = "Imperium Clan Software";

        $searchResults = $service->searchImages($search);

        return $this->render('search.html.twig',[
            'results' => $searchResults,
        ]);
    }
```

### Videos only search

[](#videos-only-search)

```
    //...

    use ICS\WebsearchBundle\Service\QwantService;

    //...

    /**
    * @Route("/search",name="websearch")
    */
    public function search(QwantService $service)
    {
        $search = "Imperium Clan Software";

        $searchResults = $service->searchVideos($search);

        return $this->render('search.html.twig',[
            'results' => $searchResults,
        ]);
    }
```

### News only search

[](#news-only-search)

```
    //...

    use ICS\WebsearchBundle\Service\QwantService;

    //...

    /**
    * @Route("/search",name="websearch")
    */
    public function search(QwantService $service)
    {
        $search = "Imperium Clan Software";

        $searchResults = $service->searchNews($search);

        return $this->render('search.html.twig',[
            'results' => $searchResults,
        ]);
    }
```

Developpement
-------------

[](#developpement)

Obtain source code.

```
git clone https://github.com/imperiumclansoftware/websearch-bundle.git [sourcePath]
```

Add local repository to composer.json developpement application.

```
{
    "repositories": [
        {
            "type": "path",
            "url": "[sourcePath]"
        },
    ]
}
```

Add bundle to your developpement application

```
composer require ics/websearch-bundle
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

3

Last Release

1633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b8cd72721fa699d3afa402c0057a9438c0556e734f1128e6ffff0212f3afa42?d=identicon)[ics](/maintainers/ics)

---

Top Contributors

[![ddutas](https://avatars.githubusercontent.com/u/46941784?v=4)](https://github.com/ddutas "ddutas (7 commits)")

### Embed Badge

![Health badge](/badges/ics-websearch-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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