Download the PHP package soderlind/wp-loupe without Composer

On this page you can find all versions of the php package soderlind/wp-loupe. 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 wp-loupe

WP Loupe - Enhanced WordPress Search

:rocket: WP Loupe has been renamed to Loupe Search; all further development continues there.

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. WP Loupe works out of the box with WordPress’s standard search.

Quick Links

Changelog

Overview

WP Loupe transforms WordPress's search functionality by:

Integrating with external agents or automation? See docs/mcp.md.

REST API

WP Loupe exposes search via REST endpoints:

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

MCP (Model Context Protocol) Integration (Summary)

WP Loupe ships with an optional MCP server enabling external AI agents or automation tools to discover commands and query your site.

Key points:

Full details, filter references, and examples: see docs/mcp.md.

Features

Installation

  1. Quick Install

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

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

Building Your Own Search UI

WP Loupe 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), WP Loupe will power the results automatically — no custom UI required.

WP Loupe 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 WP Loupe via the REST API.

Start here: docs/search-api.md

Settings

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

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:

MCP Settings

WP Loupe can optionally expose an MCP (Model Context Protocol) server so external AI agents or automation tools can discover capabilities and query your site.

You can configure MCP in the WordPress admin under Settings > WP Loupe > MCP, including:

Full details: docs/mcp.md

Advanced Settings

WP Loupe 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 > WP Loupe > Advanced tab.

Reindexing

Reindexing rebuilds the index for your configured post types.

Testing

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. WP Loupe 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.

Filters

wp_loupe_db_path

This filter allows you to change the path where the Loupe database files are stored. By default, it's in the WP_CONTENT_DIR .'/wp-loupe-db' directory.

wp_loupe_post_types

This filter allows you to modify the array of post types that the WP Loupe plugin works with. By default, it includes 'post' and 'page'.

wp_loupe_posts_per_page

This filter allows you to modify the number of search results per page. By default it's 10, set in WPAdmin->Settings->Reading->"Blog pages show at most".

wp_loupe_index_protected

This filter allows you to index posts and pages that are protected by a password. By default, it's set to false.

wp_loupe_field_{$field_name}

This filter allows you to change the field content before it is indexed.

By default, the following is used to remove HTML tags and comments from post_content. Among others, it removes the WordPress block comments.

wp_loupe_schema_{$post_type}

Modify the search schema for a specific post type. The filter name is dynamically generated based on the post type.

The schema configuration supports the following options for each field:

Default schema fields:

Technical Requirements

This architecture provides a balance between search quality, performance, and ease of integration with WordPress.

Acknowledgements

Copyright and License

WP Loupe is copyright © 2024 Per Søderlind.

WP Loupe 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.

WP Loupe 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.

/ block. 4. Keep indentation with tabs (current style) or convert uniformly if you restyle the list. 5. Avoid adding very small, single-sentence subsections to keep TOC scannable. -->

All versions of wp-loupe with dependencies

PHP Build Version
Package Version
Requires ext-pdo Version *
ext-pdo_sqlite Version *
ext-intl Version *
ext-mbstring Version *
loupe/loupe Version ~0.13.12
yahnis-elsts/plugin-update-checker Version ~5.6
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/wp-loupe contains the following files

Loading the files please wait ...