PHPackages                             youwe/pimcore-href-typeahead - 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. youwe/pimcore-href-typeahead

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

youwe/pimcore-href-typeahead
============================

Allows typeahead functionality in href

v10.0.0(2y ago)214.2k6MITPHPCI failing

Since Feb 3Pushed 2y ago10 watchersCompare

[ Source](https://github.com/YouweGit/PimcoreHrefTypeahead)[ Packagist](https://packagist.org/packages/youwe/pimcore-href-typeahead)[ RSS](/packages/youwe-pimcore-href-typeahead/feed)WikiDiscussions master Synced 1mo ago

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

Href typeahead field type
=========================

[](#href-typeahead-field-type)

[![Demo](Docs/demo.gif)](Docs/demo.gif)

Adds typeahead functionality to href fields using a modified default search functionality

I temporary made documents and assets read only field in field configurator to prevent users to select assets as a valid link at static/js/pimcore/object/classes/data/hrefTypeahead.js, but i didn't want to remove it because maybe we will add functionality to support assets and document Also i added validation to prevent users to select more then one class

### Install

[](#install)

```
composer require youwe/pimcore-href-typeahead
```

### Usage

[](#usage)

The HrefTypeahead field will be available to use in your model classes, it's similar to href, but has typeahead functionality.

### Configuration

[](#configuration)

When using the HrefAutocomplete in your model, you can use the "show\_trigger" option by checking the checkbox. This will display a little dropdown icon, so you can click this instead of typing in the box.

### Files

[](#files)

 **static/js/pimcore/object/classes/data/hrefTypeahead.js** An exact copy of default href **static/js/pimcore/object/tags/hrefTypeahead.js** An exact copy of default href, with the change that textbox is now a combo with autocomplete provided by SearchController::findAction **models/Pimcore/Model/Object/ClassDefinition/Data/HrefTypeahead.php** An exact copy of default href **HrefTypeahead/controllers/SearchController.php** A controller containing autocomplete source### Events

[](#events)

When you want to add some extra filters to the search done by the href typeahead, you can use a listener. An example:

Listener config (ie. in src/AppBundle/Resources/config/services.yml):

```
AppBundle\EventListener\HreftypeaheadSearchListener:
    tags:
        - { name: kernel.event_listener, event: hreftypeahead.search, method: onSearch }

```

Listener code (ie. in AppBundle\\EventListener\\HreftypeaheadSearchListener):

```
class HreftypeaheadSearchListener
{

    /* @var HreftypeaheadSearchEvent */
    protected $e;

    public function __construct()
    {
    }

    public function onSearch(HreftypeaheadSearchEvent $e)
    {
        $this->e = $e;

        $e->addCondition('(0 = 0)');   // just an example

    }

    ......

```

### Limitations

[](#limitations)

- It only supports one object linked in href

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 62% 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 ~93 days

Recently: every ~287 days

Total

28

Last Release

851d ago

Major Versions

0.0.12 → v5.0.02018-06-30

v4.0.4 → v5.0.52018-09-21

0.0.13 → v5.0.62019-04-17

v5.0.12 → v10.0.02024-01-09

### Community

Maintainers

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

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

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

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

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

---

Top Contributors

[![jorisros](https://avatars.githubusercontent.com/u/752283?v=4)](https://github.com/jorisros "jorisros (31 commits)")[![Sunohara666](https://avatars.githubusercontent.com/u/20945873?v=4)](https://github.com/Sunohara666 "Sunohara666 (6 commits)")[![lehminhs](https://avatars.githubusercontent.com/u/51723128?v=4)](https://github.com/lehminhs "lehminhs (3 commits)")[![prugala](https://avatars.githubusercontent.com/u/3672030?v=4)](https://github.com/prugala "prugala (2 commits)")[![DuckThom](https://avatars.githubusercontent.com/u/6512901?v=4)](https://github.com/DuckThom "DuckThom (2 commits)")[![vmalyk](https://avatars.githubusercontent.com/u/5318027?v=4)](https://github.com/vmalyk "vmalyk (2 commits)")[![kjkooistra-youwe](https://avatars.githubusercontent.com/u/24292941?v=4)](https://github.com/kjkooistra-youwe "kjkooistra-youwe (2 commits)")[![paulovitorbal](https://avatars.githubusercontent.com/u/1259996?v=4)](https://github.com/paulovitorbal "paulovitorbal (2 commits)")

---

Tags

href-typeaheadpimcorepimcore-bundle

### Embed Badge

![Health badge](/badges/youwe-pimcore-href-typeahead/health.svg)

```
[![Health](https://phpackages.com/badges/youwe-pimcore-href-typeahead/health.svg)](https://phpackages.com/packages/youwe-pimcore-href-typeahead)
```

###  Alternatives

[dachcom-digital/formbuilder

Pimcore FormBuilder - create forms easily!

96269.7k](/packages/dachcom-digital-formbuilder)[elements/process-manager-bundle

The Process Manager allows you to manage (define,execute...) arbitrary processes/commands in the Pimcore backend.

49633.0k5](/packages/elements-process-manager-bundle)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

44763.4k2](/packages/pimcore-data-importer)[pimcore/output-data-config-toolkit-bundle

21256.8k3](/packages/pimcore-output-data-config-toolkit-bundle)[instride/data-definitions

Data Definitions allows you to define your DataObject Imports and Exports using a nice GUI and re-run the definitions as often you like.

8117.7k](/packages/instride-data-definitions)[pimcore/object-merger

13550.4k1](/packages/pimcore-object-merger)

PHPackages © 2026

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