PHPackages                             stw-on/craft-extended-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. [Search &amp; Filtering](/categories/search)
4. /
5. stw-on/craft-extended-search

ActiveCraft-plugin[Search &amp; Filtering](/categories/search)

stw-on/craft-extended-search
============================

Retrieve additional context for Element searches

4.0.0(1y ago)22.4k1MITPHP

Since Feb 28Pushed 1y agoCompare

[ Source](https://github.com/stw-on/craft-extended-search)[ Packagist](https://packagist.org/packages/stw-on/craft-extended-search)[ RSS](/packages/stw-on-craft-extended-search/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (15)Used By (0)

Extended Search plugin for Craft CMS 3.x
========================================

[](#extended-search-plugin-for-craft-cms-3x)

This repository is a fork of , which is  ported from Craft 2 to Craft 3. It is an expansion of Crafts search, which gives you a context for search hits.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.1.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
    cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
    composer require stw-on/craft-extended-search

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Extended Search.

Using Extended Search
---------------------

[](#using-extended-search)

The first parameter is the search term. Which will be salted automatically: `*{term}*`The second is settings.

SettingTypePurposeDefaultlengthintCuts off the search value at given length300sectionarray/stringsection names to search innull (all sections)sectionIdarray/intid of sections to search innull (all sections)limitinthow many results to return (pagination)0 (all)offsetinthow many results to skip (pagination)0subLeftboolto use fuzzy search lefttruesubRightboolto use fuzzy search righttruetypestringelement type to search for (e.g. `entry` or `asset`entryIn your search results template

```
{% set results = craft.extendedSearch.search(query, { sections: ['news'], length: 150 }) %}
{% for result in results %}
    {{ result.entry.title }}
    {{result.matchedValue}}
    {{ result.element.url }}
{% else %}
    Sorry, no results for {{ query }}.
{% endfor %}
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 74.5% 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 ~169 days

Recently: every ~357 days

Total

13

Last Release

654d ago

Major Versions

0.0.2 → 1.0.02019-03-05

1.3.7 → 2.0.02020-08-26

2.0.2 → 3.0.02022-05-10

3.0.1 → 4.0.02024-09-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/4185d40a62682ae78e5070d9d00145fb5884fcd99bdd5a7e7adb9cd3758cdaa4?d=identicon)[timoschwarzer](/maintainers/timoschwarzer)

---

Top Contributors

[![peirix](https://avatars.githubusercontent.com/u/347175?v=4)](https://github.com/peirix "peirix (35 commits)")[![timoschwarzer](https://avatars.githubusercontent.com/u/8849554?v=4)](https://github.com/timoschwarzer "timoschwarzer (12 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginextended search

### Embed Badge

![Health badge](/badges/stw-on-craft-extended-search/health.svg)

```
[![Health](https://phpackages.com/badges/stw-on-craft-extended-search/health.svg)](https://phpackages.com/packages/stw-on-craft-extended-search)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[studioespresso/craft-scout

Craft Scout provides a simple solution for adding full-text search to your entries. Scout will automatically keep your search indexes in sync with your entries.

80143.5k](/packages/studioespresso-craft-scout)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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