Download the PHP package boxed-code/laravel-scout-elasticsearch without Composer

On this page you can find all versions of the php package boxed-code/laravel-scout-elasticsearch. 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-scout-elasticsearch

Laravel Scout Elasticsearch Driver

Latest Stable Version License Tests

A basic elastic search backed driver for Laravel Scout.

This driver has a simple configuration, requiring you to set the hostname of your elasticsearch node.

Note that this driver uses a separate index for each model type as elasticsearch mapping types have been deprecated in elasticsearch 6.0 and will be removed in 8.0, for more information see https://bit.ly/2TZVZvq.

By default, the driver uses the simple_query_string full text parser with and as the default operator. More information on the functionality & syntax of this query format can be found here.

Requires Scout ^8.0 or ^9.0 & PHP >=7.2. Based on the original work of ErickTamayo (Scout 5/6/7 & elastic search server 5.x are supported by versions of 1.x)

Contents

Installation

You can install the package via composer:

If you're using Laravel 5.4, you must add the Scout service provider and the package service provider in your app.php config:

Add the elastic search configuration

Add the following to your scout configuration:

Upgrading from 1.x -> 2.x

If you are upgrading from 1.x -> 2.x and are using an elastic server version < 7.x you will need to constrain the version of the base elastic driver used in your composer.json. For example if you're running 6.x:

composer require elasticsearch/elasticsearch:^6.0

Remember: When you upgrade your server version to 7.x you will need to remove the package or upgrade it to the 7.x driver.

Usage

Now you can use Laravel Scout as described in the official documentation

Credits

License

The MIT License (MIT).


All versions of laravel-scout-elasticsearch with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
laravel/scout Version ^8.0|^9.0
elasticsearch/elasticsearch Version ^6.8|^7.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 boxed-code/laravel-scout-elasticsearch contains the following files

Loading the files please wait ....