PHPackages                             surda/search - 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. surda/search

ActiveLibrary

surda/search
============

Search control for Nette Framework

v1.5.0(1y ago)054MITPHPPHP &gt;=7.1

Since Jun 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/surda/search)[ Packagist](https://packagist.org/packages/surda/search)[ Docs](http://surani.cz)[ RSS](/packages/surda-search/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (7)Used By (0)

Search control
==============

[](#search-control)

[![Build Status](https://camo.githubusercontent.com/2e0c8aa6a05294c763af2f0bf55caf17d3927a8d49af21bcbd53ed32e2d34f01/68747470733a2f2f7472617669732d63692e6f72672f73757264612f7365617263682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/surda/search)[![Licence](https://camo.githubusercontent.com/5cb20e48717d890227b46211921ea5d77c47259a35f49052a28e680f1f45e223/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73757264612f7365617263682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/surda/search)[![Latest stable](https://camo.githubusercontent.com/4e5989312464daddbc2866b50b9b64fb4feedae48f7750486946cbf5699b1568/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73757264612f7365617263682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/surda/search)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

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

[](#installation)

The recommended way to is via Composer:

```
composer require surda/search

```

After that you have to register extension in config.neon:

```
extensions:
    search: Surda\Search\DI\SearchExtension
```

Configuration
-------------

[](#configuration)

Default

```
search:
    templates:
        default: bootstrap4.default.latte
    autocomplete: 'on'
```

Usage
-----

[](#usage)

Presenter

```
use Nette\Application\UI\Presenter;
use Surda\Search\TSearch;

class ProductPresenter extends Presenter
{
    use TSearch;

    public function actionDefault(): void
    {
        $text = $this->search;
        ...
    }
}
```

Template

```
{control search}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance48

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~506 days

Total

6

Last Release

388d ago

### Community

Maintainers

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

---

Top Contributors

[![surda](https://avatars.githubusercontent.com/u/588663?v=4)](https://github.com/surda "surda (12 commits)")

---

Tags

nettecontrol

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nette/application

🏆 Nette Application: a full-stack component-based MVC kernel for PHP that helps you write powerful and modern web applications. Write less, have cleaner code and your work will bring you joy.

44615.4M983](/packages/nette-application)[contributte/application

Extra contrib to nette/application

352.8M7](/packages/contributte-application)[contributte/recaptcha

Google reCAPTCHA for Nette - Forms

421.3M4](/packages/contributte-recaptcha)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[contributte/forms-bootstrap

Nette extension for Bootstrap forms

211.1M4](/packages/contributte-forms-bootstrap)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)

PHPackages © 2026

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