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 yesterday

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

37

—

LowBetter than 83% of packages

Maintenance35

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

602d 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

[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.

80136.8k](/packages/studioespresso-craft-scout)[trendyminds/algolia

Easily pull search results from Algolia into your Craft CMS website

1332.2k](/packages/trendyminds-algolia)[la-haute-societe/craft-elasticsearch

Bring the power of Elasticsearch to your Craft CMS projects.

1712.4k](/packages/la-haute-societe-craft-elasticsearch)[swixpop/locate

Harness the power of the Google Autocomplete API inside Craft. Adds an autocomplete search box to Craft entries.

154.8k](/packages/swixpop-locate)[swishdigital/faceted-navigation

Provides faceted navigation of entries, using categories, which allows site users to narrow the list of entries they see by applying multiple filters (think Amazon or eBay left sidebar).

152.4k](/packages/swishdigital-faceted-navigation)[fork/craft-elastica

A plugin to connect to Elasticsearch and persist elements via hooks

101.8k](/packages/fork-craft-elastica)

PHPackages © 2026

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