Download the PHP package pollora/meilifacets without Composer

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

MeiliFacets: Meilisearch facets and site search for Pollora

Latest Stable Version Total Downloads

MeiliFacets is a Pollora module that adds faceted product listings and a site-wide search panel, served by Meilisearch straight from the visitor's browser. It is for WooCommerce and content sites built on Pollora: the first page is rendered by PHP with the URL's filters applied, and every later click is one request to the engine, with no WordPress page load in the loop.

You want to…

Installation

MeiliScout 2.5.1 or later comes with the module. The project's composer.json needs an installer-paths rule and merge-dev: false first, and the module is then enabled in modules_statuses.json: the whole sequence is in Installation.

Requirements

PHP 8.4 or later
Framework Pollora 13.x from 13.35.3 (pollora/framework >=13.35.3 <14), on Laravel 13. Laravel modules (nwidart/laravel-modules) ship with Pollora
Indexing MeiliScout (amphibee/meiliscout), a WordPress plugin, 2.5.1 or later
Engine a Meilisearch server
Products WooCommerce, for the product listing and its prices. The site search works without it
Optional ext-intl, so that facet values ordered by name follow the site's language

Quick start

A product listing, composed from the module's Blade components:

A search panel in the header:

What it is

Two features, both served by Meilisearch:

What it does not do: it does not index anything itself, and it does not replace WordPress's routing or templates. MeiliScout, a WordPress plugin, builds and pushes the documents.

How it works

What you get without writing PHP

On a WooCommerce project, with MeiliScout indexing products:

Everything else (other facets, the price filter, your own card, other sorts) is a configuration key, a view override or a container binding. See Quick start.

Design principles

Documentation

Installing a module with Composer, and the installer-paths rule it needs, is covered on pollora.dev/advanced/modules. The module's own guide lives in docs/:

Reading this documentation

Map

Section Pages
Getting started Quick start
Listing and filters Listing other content
Site search Searchable content types
Relevance and indexing Indexed prices (WooCommerce)
Customising Translating the interface
Accessibility Accessibility and motion
Reference Commands
When something goes wrong Troubleshooting and FAQ
Releases Upgrading

The maintainers' design notes, in French, are in docs/internal/: decisions, measurements and known traps gathered while building the module. They are not needed to use it.

Development

Run these from a clone of the module's repository, not from a copy installed in a project. The repository keeps its own node_modules, which only serves the system that installed it. Node 24.12 or later is required.

The Feature tests render Blade views and need a host application. Run them from a Pollora project where the module is installed, with a PHPUnit suite that includes Modules/MeiliFacets/tests/Feature.

Commits follow Conventional Commits. Before opening a pull request, composer check and the Feature tests should both pass. The current release is 0.3.0, a beta: see the changelog.

Contributing

Contributions are welcome: see the contributing guide. Report security issues privately, as described in the security policy.

License

MeiliFacets is open-source software licensed under the RuBee group


All versions of meilifacets with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
amphibee/meiliscout Version ^2.6.1
composer/installers Version ^2.0
illuminate/console Version ^13.35
illuminate/contracts Version ^13.35
illuminate/reflection Version ^13.35
illuminate/support Version ^13.35
illuminate/translation Version ^13.35
illuminate/view Version ^13.35
league/uri Version ^7.5
meilisearch/meilisearch-php Version ^1.12
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 pollora/meilifacets contains the following files

Loading the files please wait ...