PHPackages                             penblu/searchautocomplete - 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. penblu/searchautocomplete

ActiveYii2-extension[Search &amp; Filtering](/categories/search)

penblu/searchautocomplete
=========================

Extension creada por PenBlu para el uso de la libreria search-autocomplete

v1.0.13(4y ago)031GPL-2.0-or-laterJavaScript

Since Mar 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PenBlu/yii-search-autocomplete)[ Packagist](https://packagist.org/packages/penblu/searchautocomplete)[ RSS](/packages/penblu-searchautocomplete/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (10)Dependencies (1)Versions (15)Used By (0)

Yii Search Autocomplete Extension
=================================

[](#yii-search-autocomplete-extension)

Extension de Search Autocomplete creada por PenBlu

Search Autocomplete is a library creade to use in Yii Projects

Reference Plugin:

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist penblu/searchautocomplete "*"

```

or add

```
"penblu/searchautocomplete": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
CONTROLLER:

public function actionTest(){
    $data = Yii::$app->request->post();
    if($data['ls_query_id'] == "autocomplete-test"){
        $query = $data['ls_query'];
        $con = Yii::$app->db_gfinanciero;
        $table = "COSCENTRO";
        $cols = [
            'COD_CEN',
            'NOM_CEN'];
        $aliasCols = [
            'Id',
            financiero::t('centro', 'Name')];
        $where = "EST_LOG = 1 and EST_DEL = 1";
        $order = "COD_CEN DESC";
        $limitPages = 20;
        $currentPage = $data['ls_current_page'];
        $perPage = $data['ls_items_per_page'];
        return app\vendor\penblu\searchautocomplete\SearchAutocomplete::renderView($query, $con, $cols, $aliasCols, $table, $where, $order, $limitPages, $currentPage, $perPage);
    }
    return $this->render('test', [

    ]);
}

VIEW:

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

14

Last Release

1810d ago

### Community

Maintainers

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

---

Top Contributors

[![edu19432](https://avatars.githubusercontent.com/u/1338659?v=4)](https://github.com/edu19432 "edu19432 (2 commits)")

---

Tags

yii2extensionsearchautocomplete

### Embed Badge

![Health badge](/badges/penblu-searchautocomplete/health.svg)

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

###  Alternatives

[thrieu/yii2-grid-view-state

Save filters from GridView to session, keep the filter state between pages.

1313.1k1](/packages/thrieu-yii2-grid-view-state)[keygenqt/yii2-autocomplete-ajax

A simple way to search model id of the attributes model

1015.8k](/packages/keygenqt-yii2-autocomplete-ajax)[sammaye/yii2-solr

Solr plugin for the Yii2 framework built ontop of Solarium

1063.1k](/packages/sammaye-yii2-solr)[vxm/yii2-searchable

Simple full-text search for Yii2 active record

181.4k](/packages/vxm-yii2-searchable)

PHPackages © 2026

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