Download the PHP package filagora/filagora-search without Composer

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

Filagora Search

Search for Filagora that does not tie you to one engine. It defines a SearchEngine contract and a portable filter tree, ships a Meilisearch engine and a database fallback, and keeps the index fresh and healthy with commands. Requires filagora/filagora-core.

The package is at 0.1: the API may change between 0.x minor versions. There is no frontend: you build the search pages.

How it fits together

Keeping the index fresh

Saving, deleting or restoring a model that belongs to a registered index updates its document (after the transaction commits). Set FILAGORA_SEARCH_QUEUE=true to do that on the queue. Failures are logged and never break the save.

filagora:doctor also reports the engine's health. With the database engine all of these say there is nothing to do.

Using Meilisearch

The engine speaks Meilisearch's HTTP API directly. Changes are applied by Meilisearch after it has answered, so a failure shows up as a failed task; syncSettings() waits for its own tasks and MeilisearchEngine::waitForTasks() waits for the rest. Every word of a query must match, and a total that reaches meilisearch.max_total_hits (1000, Meilisearch's counting limit) is reported with totalIsCapped.

Writing an engine

Implement Filagora\Search\Contracts\SearchEngine, register it, and run the conformance checks in your tests. If your engine applies writes later, pass a closure that waits until it has caught up:

Install

Nothing to migrate: the package owns no tables. It uses the database engine until you set FILAGORA_SEARCH_ENGINE. Packages that have searchable things (forums, cms) register their own indexes when this package is installed.

Testing

Tests run against a real MariaDB database named testing.

Licence

MIT. See LICENSE.


All versions of filagora-search with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
filament/filament Version ^5.0
filagora/filagora-core Version ^0.2.1
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 filagora/filagora-search contains the following files

Loading the files please wait ...