Download the PHP package amphibee/meiliscout without Composer

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

Latest release Tests PHP 8.2+ WordPress 6.6+ MIT license

MeiliScout

Meilisearch for WordPress: your posts and terms indexed as they change, WP_Query and get_terms() answered by Meilisearch when it can answer them exactly as MySQL would, and filterable listings on the front end, built in the block editor or in code.

Why MeiliScout


A listing: facets with counts, sort, cards, pagination.

On a phone, the filters open as a sheet.

The admin: health, content, queries served, activity.

A full-screen setup assistant walks you from the connection to the first indexation.

Requirements

Installation

Download the zip of the latest release, which ships its dependencies, and install it in wp-content/plugins; or require the package amphibee/meiliscout with Composer (Bedrock, Pollora), whose autoloader then loads it. Then activate it.

Quick start

On a new install, a full-screen setup assistant opens by itself and walks you through all of it in about three minutes. By hand:

  1. Connect. MeiliScout › Settings › Connection: the instance's URL and a key, or the variables below.
  2. Choose what to index. MeiliScout › Content: post types, taxonomies, custom fields.
  3. Index. MeiliScout › Indexation, or wp meiliscout index.

Then ask Meilisearch for a query (see docs/CONFIGURATION.md.

Each connection setting can come from the environment or a constant instead, and is then read-only in the admin:

Variable or constant
MEILI_HOST The instance's URL
MEILI_KEY Its admin key
MEILI_SEARCH_KEY A search key, for searches (optional)
MEILI_INDEX_PREFIX Prefix of the index names (default: the site's domain)
MEILISCOUT_ASYNC_INDEXING true: real-time indexing in the background (WP-Cron); false: at the end of the request

Querying

The meta keys a query filters or sorts on must be indexed (MeiliScout › Content › Custom fields). The X-MeiliScout header, the Query Monitor panel and MeiliScout › Search preview › Query arguments say what happened to a query.

Front listings

In the block editor, insert Filterable listing. Or in code:

Turn the module on in MeiliScout › Settings › Listings. Build your first listing with the docs/LISTINGS.md.

Documentation

Configuration Connect, index, serve queries, listings settings, export and import the configuration, deploy to another server
Listings guide A listing step by step, in blocks and in code (PHP, Blade, Twig), with screenshots
Search weights guide Tune what a search finds first, per post type, with named custom fields and a live test, with screenshots
Suggestions guide A search field with suggestions step by step, in the editor and in code, with screenshots
Suggestions reference Every option, the templates, the key and token, the transports
Listings reference Every option: facets, transports, URLs, SEO, languages, markup, UI kit
Terms What is translated, what falls back to MySQL and why
Filters The hooks, from what is indexed to the search parameters sent
Changelog The changes by version

WP-CLI

Development

License

MIT, by AmphiBee.


All versions of meiliscout with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
meilisearch/meilisearch-php Version ^v1.12.0
symfony/polyfill-mbstring Version ^1.31
symfony/http-client Version ^7.3
nyholm/psr7 Version ^1.8
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 amphibee/meiliscout contains the following files

Loading the files please wait ...