Download the PHP package soderlind/loupe-search without Composer

On this page you can find all versions of the php package soderlind/loupe-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package loupe-search

Loupe Search - Enhanced WordPress Search

A search enhancement plugin for WordPress that builds a fast, typo-tolerant index and exposes a developer-friendly API so you can build your own search UI. Loupe Search works out of the box with WordPress’s standard search.

Renamed from WP Loupe. Loupe Search is the successor to the WP Loupe plugin. Existing installs upgrade seamlessly, and the legacy filters, REST namespace, CLI command, and index folder still work as deprecated aliases. See Renamed from WP Loupe for details.

Quick Links

Changelog

Overview

Loupe Search replaces WordPress core search:

Integrating with AI agents or automation? Loupe Search registers native abilities via the WordPress Abilities API.

Features

Technical Requirements

About the PHP extensions: pdo_sqlite provides the SQLite driver Loupe uses to store and query the search index; intl powers locale-aware tokenizing, collation, and typo tolerance; and mbstring ensures multibyte (UTF-8) text is handled correctly during indexing and search. All three are required, but they are enabled by default on most modern PHP installations and shared hosts, so no action is usually needed. If your host is missing one, contact them or enable it in your PHP configuration.

Installation

  1. Install from WordPress.org

    • In your WordPress admin, go to Plugins > Add New
    • Search for "Loupe Search"
    • Click "Install Now", then "Activate"
  2. Quick Install

    • Download loupe-search.zip
    • Upload via WordPress Plugins > Add New > Upload Plugin
  3. Composer Install

  4. Post-Installation
    • Activate the plugin
    • Go to Settings > Loupe Search
    • Click "Reindex" to build the initial search index (runs in batches; safe for large sites)

Settings

You can configure Loupe Search's search behavior and performance via the WordPress admin: Settings > Loupe Search.

General Settings

Post Types

Select which post types to include in the search index.

Field Weight

Weight determines how important a field is in search results:

Filterable Fields

Filterable fields can be used to refine search results:

Note: Fields with highly variable or unique values (like content) make poor filters as each post would have its own filter value.

Sortable Fields

Sortable fields can be used to order search results:

Advanced Settings

Loupe Search provides advanced configuration options to fine-tune your search experience:

Prefix Search

Typo Tolerance

Query Parameters

Languages

These advanced settings can be accessed in the WordPress admin under Settings > Loupe Search > Advanced tab.

Reindexing

Reindexing rebuilds the index for your configured post types.

FAQ

How does it handle updates to posts?

The search index automatically updates when content is created, modified, or deleted.

Will it slow down my site?

No. Loupe Search uses a separate, optimized search index and doesn't impact your main database performance.

Can I customize what content is searchable?

Yes, using filters you can control exactly what content gets indexed and how it's searched.

Does it work with custom post types?

Yes, you can select which post types to include in the Settings page or via filters.

Building Your Own Search UI

Loupe Search works out of the box with WordPress’s standard search. If your theme uses the normal search flow (e.g. a search form that routes to the built-in search results page), Loupe Search will power the results automatically — no custom UI required.

Loupe Search intentionally does not ship a front-end search block/shortcode UI. If you want a custom search experience (autocomplete, filters/facets, geo, custom sorting, etc.), build the UI you want and query Loupe Search via the REST API.

Start here: docs/search-api.md

REST API

Loupe Search exposes search via REST endpoints:

The old wp-loupe/v1 namespace still works as a deprecated alias. See Renamed from WP Loupe.

Developer documentation (schema + examples + Gutenberg block example): docs/search-api.md

Add-ons

AI Agent Integration (WordPress Abilities API)

Loupe Search registers two abilities via the WordPress Abilities API (WordPress 6.9+) so AI agents and automation tools can discover and use search functionality natively — no extra configuration required:

Both abilities are discoverable through the standard WordPress Abilities registry and exposed via REST (show_in_rest).

The legacy wp-loupe/* abilities (category wp-loupe) still work as deprecated aliases. See Renamed from WP Loupe.

Upgrading from the MCP server? The experimental MCP server, token service, and WP-CLI token commands were removed in 0.8.5. See the MCP → Abilities API migration guide.

Filters

Eight filters let you change what gets indexed, how it is weighted, and how results are returned:

Filter Use it to
loupe_search_post_types Choose which post types are indexed
loupe_search_index_protected Index password-protected posts
loupe_search_db_path Move the index directory
loupe_search_field_{$field_name} Clean a core post field before indexing
loupe_search_schema_{$post_type} Add/remove fields, set weights and sorting
loupe_search_is_safely_sortable_{$post_type} Force a core field to be sortable
loupe_search_is_safely_sortable_meta_{$post_type} Correct meta-field sortability detection
loupe_search_posts_per_page Change results per page

Filters reference → — signatures, defaults, schema options, recipes, and when to reindex.

Filters use the loupe_search_* prefix; the old wp_loupe_* names still work as deprecated aliases. See Renamed from WP Loupe.

Testing

Acknowledgements

Copyright and License

Loupe Search is copyright © 2024 Per Søderlind.

Loupe Search is open-source software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

Loupe Search is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE for more information.


All versions of loupe-search with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
ext-pdo Version *
ext-pdo_sqlite Version *
ext-intl Version *
ext-mbstring Version *
loupe/loupe Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package soderlind/loupe-search contains the following files

Loading the files please wait ...