PHPackages                             helsingborg-stad/algolia-index-js-searchpage-addon - 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. helsingborg-stad/algolia-index-js-searchpage-addon

ActiveWordpress-plugin

helsingborg-stad/algolia-index-js-searchpage-addon
==================================================

https://github.com/helsingborg-stad/algolia-index-js-searchpage-addon

3.6.14(2mo ago)017.4k↓39.5%3[7 PRs](https://github.com/helsingborg-stad/algolia-index-js-searchpage-addon/pulls)MITTypeScriptCI failing

Since Apr 30Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/helsingborg-stad/algolia-index-js-searchpage-addon)[ Packagist](https://packagist.org/packages/helsingborg-stad/algolia-index-js-searchpage-addon)[ RSS](/packages/helsingborg-stad-algolia-index-js-searchpage-addon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (95)Used By (0)

Algolia Index Js Search Page
============================

[](#algolia-index-js-search-page)

Replaces search page with a js (instant search) page.

Features
--------

[](#features)

- Real-time search with Algolia or Typesense
- Faceted search (filtering) support
- Pagination
- Configurable search behavior

Constants
---------

[](#constants)

- `ALGOLIA_INDEX_MOUNT_POINT` - On what action to run js. Default: get\_search\_form

Faceting Configuration
----------------------

[](#faceting-configuration)

Faceting allows users to filter search results by various attributes such as origin site, categories, tags, or custom taxonomies.

### Enabling Facets

[](#enabling-facets)

Faceting is enabled by default. To disable it, use the filter:

```
add_filter('AlgoliaIndex/FacetingEnabled', '__return_false');
```

### Configuring Facets

[](#configuring-facets)

Define which attributes should be available for faceting:

```
add_filter('AlgoliaIndex/Facets', function($facets) {
    return [
        [
            'attribute' => 'origin_site',
            'label' => __('Origin Site', 'text-domain'),
            'enabled' => true
        ],
        [
            'attribute' => 'categories',
            'label' => __('Categories', 'text-domain'),
            'enabled' => true
        ],
        [
            'attribute' => 'tags',
            'label' => __('Tags', 'text-domain'),
            'enabled' => true
        ]
    ];
});
```

**Important:** Facet attributes must be configured in your Algolia index settings as "Attributes for faceting" for them to work properly.

### Origin Site Faceting

[](#origin-site-faceting)

The `origin_site` facet is particularly useful when multiple WordPress sites share the same Algolia index. It allows users to filter results by their source site.

Filters
-------

[](#filters)

- `AlgoliaIndex/SearchConfig` - Modify the search configuration
- `AlgoliaIndex/SearchParams` - Modify search parameters
- `AlgoliaIndex/SearchAsYouType` - Enable/disable search as you type (default: true)
- `AlgoliaIndex/FacetingEnabled` - Enable/disable faceting (default: true)
- `AlgoliaIndex/Facets` - Configure available facets (default: empty array)

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance88

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~24 days

Total

60

Last Release

63d ago

Major Versions

1.1.3 → 2.0.02023-09-26

2.0.2 → 3.0.02024-02-20

### Community

Maintainers

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

---

Top Contributors

[![NiclasNorin](https://avatars.githubusercontent.com/u/103985736?v=4)](https://github.com/NiclasNorin "NiclasNorin (14 commits)")[![sebastianthulin](https://avatars.githubusercontent.com/u/797129?v=4)](https://github.com/sebastianthulin "sebastianthulin (13 commits)")[![cedrikvonheiroth](https://avatars.githubusercontent.com/u/64852452?v=4)](https://github.com/cedrikvonheiroth "cedrikvonheiroth (8 commits)")[![thorbrink](https://avatars.githubusercontent.com/u/1064724?v=4)](https://github.com/thorbrink "thorbrink (5 commits)")[![ergr1001](https://avatars.githubusercontent.com/u/97021637?v=4)](https://github.com/ergr1001 "ergr1001 (5 commits)")[![petter-a](https://avatars.githubusercontent.com/u/40427478?v=4)](https://github.com/petter-a "petter-a (5 commits)")[![Sven65](https://avatars.githubusercontent.com/u/10225982?v=4)](https://github.com/Sven65 "Sven65 (5 commits)")[![jeanfredrik](https://avatars.githubusercontent.com/u/8242740?v=4)](https://github.com/jeanfredrik "jeanfredrik (3 commits)")[![nRamstedt](https://avatars.githubusercontent.com/u/16800993?v=4)](https://github.com/nRamstedt "nRamstedt (2 commits)")[![silvergrund](https://avatars.githubusercontent.com/u/4200504?v=4)](https://github.com/silvergrund "silvergrund (1 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/helsingborg-stad-algolia-index-js-searchpage-addon/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-algolia-index-js-searchpage-addon/health.svg)](https://phpackages.com/packages/helsingborg-stad-algolia-index-js-searchpage-addon)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4127.7k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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