Download the PHP package psagnataf/laravel-manticoresearch without Composer

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

Latest Stable Version Total Downloads Build Status Code Coverage Code Climate Scrutinizer Code Quality License

Laravel ManticoreSearch plugin

An easy way to use the official ManticoreSearch client in your Laravel or Lumen applications.

Laravel

The package's service provider will automatically register its service provider.

Publish the configuration file:

Alternative configuration method via .env file

After you publish the configuration file as suggested above, you may configure ManticoreSearch by adding the following to your application's .env file (with appropriate values):

Lumen

If you work with Lumen, please register the service provider and configuration in bootstrap/app.php:

Manually copy the configuration file to your application.

How to use

The ManticoreSearch facade is just an entry point into the ManticoreSearch client, so previously you might have used:

Instead of these few lines above you can use single line solution:

That will run the command on the default connection. You can run a command on any connection (see the defaultConnection setting and connections array in the configuration file).

methods of Client class:

Lumen users who aren't using facades will need to use dependency injection, or the application container in order to get the ManticoreSearch Index object:

Of course, dependency injection and the application container work for Laravel applications as well.

All available environments variables

Name Default value Description
MANTICORESEARCH_CONNECTION default Name of default connection
MANTICORESEARCH_HOST localhost Address of host with Manticore server
MANTICORESEARCH_PORT 9308 Port number with REST server
MANTICORESEARCH_TRANSPORT Http Type of transport, can be: Http, Https, PhpHttp or your custom driver
MANTICORESEARCH_USER Username
MANTICORESEARCH_PASS Password
MANTICORESEARCH_TIMEOUT 5 Timeout between requests
MANTICORESEARCH_CONNECTION_TIMEOUT 1 Timeout before connection
MANTICORESEARCH_PROXY Url of HTTP proxy server
MANTICORESEARCH_PERSISTENT true Define whenever connection is persistent or not
MANTICORESEARCH_RETRIES 2 Amount of retries if connection is lost

Links


All versions of laravel-manticoresearch with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
ext-json Version *
ext-curl Version *
manticoresoftware/manticoresearch-php Version ^1.4
illuminate/support Version ^6.0|^7.0|^8.0
illuminate/contracts Version ^6.0|^7.0|^8.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 psagnataf/laravel-manticoresearch contains the following files

Loading the files please wait ....