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 4w 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 83% 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

902d 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://avatars.githubusercontent.com/u/127846219?v=4)[Youwe Agency](/maintainers/youweagency)[@YouweAgency](https://github.com/YouweAgency)

![](https://avatars.githubusercontent.com/u/752283?v=4)[Joris Ros](/maintainers/jorisros)[@jorisros](https://github.com/jorisros)

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

![](https://avatars.githubusercontent.com/u/20945873?v=4)[Roelf](/maintainers/Sunohara666)[@Sunohara666](https://github.com/Sunohara666)

![](https://avatars.githubusercontent.com/u/6256292?v=4)[Youwe](/maintainers/Youwe)[@youwe](https://github.com/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

[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46823.2k3](/packages/pimcore-data-importer)[pimcore/perspective-editor

Pimcore Perspective Editor

21408.7k](/packages/pimcore-perspective-editor)[pimcore/object-merger

13572.1k1](/packages/pimcore-object-merger)[pimcore/number-sequence-generator

Pimcore Number Sequence Generator

11604.2k1](/packages/pimcore-number-sequence-generator)

PHPackages © 2026

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