Download the PHP package ernestdefoe/manticore without Composer

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

Manticore Search for Flarum

The problem

Flarum's built-in search runs on your database. It misses typos, and MySQL's full-text mode drops common words. Elasticsearch, OpenSearch and Typesense fix that, but they need a lot of memory, which is a problem on a small VPS or shared server.

What it does

A free search driver for Flarum 2, backed by Manticore Search, the maintained successor to Sphinx. Measured on a test forum, the official container used about 30 MB at start and about 100 MB once typo-tolerant searches were running (fuzzy search is handled by Manticore's small Buddy helper).

Installation

Enable Manticore Search in the admin panel.

Run Manticore

The smallest setup is one container. Keep port 9308 private, because Manticore's HTTP API has no authentication of its own:

If your forum runs in Docker, attach Manticore to the forum's network instead of publishing a port, and use the container name as the host.

Set up

  1. Admin → Manticore Search. Enter the host (and the port if it isn't 9308), then save.
  2. Click Test connection.
  3. Click Rebuild index, or run php flarum manticore:index.
  4. Choose which searches Manticore should answer, then save.

The table prefix keeps two forums on one Manticore separate. If you leave it blank, it is taken from your forum's host name. Username and password are only needed when Manticore sits behind a proxy that uses HTTP basic authentication. The password stays on the server.

Search tabs answered by Manticore show a small Powered by Manticore Search note. The browser only learns which tabs use Manticore; it never sees connection details.

Console

On a large forum, run a queue worker so indexing and rebuilds happen in the background.

How it indexes

Table Holds Used by
<prefix>_discussions title discussion search
<prefix>_posts comment text and discussion_id post search, and discussion search grouped by discussion
<prefix>_users username and display name (never email) user search

New, edited, hidden, restored and deleted content updates the index automatically. Hidden posts and discussions are removed from the index, the same way Flarum's search index pipeline treats them.

Updating

Support

Licence

MIT © Ernest Defoe


All versions of manticore with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
flarum/core Version ^2.0
guzzlehttp/guzzle Version ^7.7
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 ernestdefoe/manticore contains the following files

Loading the files please wait ...