Download the PHP package dwarfdk/laravel-meilitools without Composer

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

Laravel MeiliTools

PHP Packagist Downloads GitHub Workflow Status

The purpose of this package is to ease the configuration of indexes for MeiliSearch, so it's possible to use advanced filtering and sorting through Laravel Scout, without having to meddle with their API manually.

Table of Contents

Compatibility

Engine 0.1.x 0.2.x 0.3.x
v0.26.x X X
v0.27.x X X
v0.28.x X
v0.29.x X
v0.30.x X

Installation

Install this package via Composer:

Configuration

Publish config using Artisan command:

Change configuration through config/meilitools.php.

Usage

This package provides commands and helpers to ease the use of configuring MeiliSearch indexes.

Model Settings

Setup index settings for a model by implementing the method provided by the contract.

A full list of available index settings can be found here.

Commands

The following commands are available:

meili:index:create - Create a new MeiliSearch index

Arguments:

Options:

meili:index:delete - Delete a MeiliSearch index

Arguments:

meili:index:details - Get details for a MeiliSearch index

Arguments:

meili:index:reset - Reset settings for a MeiliSearch index

Arguments:

Options:

meili:index:view - Get base information about a MeiliSearch index

Arguments:

Options:

meili:indexes:list - List all MeiliSearch indexes

Options:

meili:model:details - Get details for a MeiliSearch model index

Arguments:

meili:model:reset - Reset settings for a MeiliSearch model index

Arguments:

Options:

meili:model:synchronize - Synchronize settings for a MeiliSearch model index

Arguments:

meili:model:view - Get base information about a MeiliSearch model index

Arguments:

Options:

Options:

meili:models:synchronize - Synchronize all models implementing MeiliSearch index settings

Options:

Examples

Model commands can take both full class name and base name, with the latter being completed using the configured paths.

Testing

Running tests can be done either through composer, or directly calling the PHPUnit binary.

To run tests with code coverage, please make sure that phpdbg exists and is executable.

Career

Dwarf A/S is a digital agency based in Copenhagen (Denmark) and established January 1st 2000.

We're always looking for new talent, so have a look at our website for job openings.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-meilitools with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/validation Version ^8.0|^9.0|^10.0
meilisearch/meilisearch-php Version >=0.24.0 <=0.26.0
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 dwarfdk/laravel-meilitools contains the following files

Loading the files please wait ....