Download the PHP package kinetis/search-elasticsearch without Composer

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

kinetis/search-elasticsearch
Non-blocking Elasticsearch client construction for Kinetis

Packagist Version Packagist Downloads PHP Version License CI


Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

Builds a real Elastic\Elasticsearch\Client (from elasticsearch/elasticsearch) through Elasticsearch's own ClientBuilder, over kinetis/search's Revolt-native HTTP transport instead of the blocking cURL client the builder would otherwise discover. The returned object is the real, un-wrapped client — nothing Kinetis-specific sits on top of it.

Each call is one wire attempt against one origin, bounded by one deadline and one response size, following no redirect and making no retry: Elastic\Transport\Transport re-sends on a PSR-18 network failure, which would replay an index or bulk whose dispatch outcome is unknown, so retries are pinned to zero. Every status Elasticsearch answers with stays the official client's to map.

Provides

Installing this package auto-registers, via extra.kinetis:

Nothing else. Named connections stay explicit application wiring.

Configuration

The host, deadline, response bound, Basic credentials and TLS switch are kinetis/search's, spelled with this engine's prefix. What this package adds:

Key Default Purpose
SEARCH_ELASTICSEARCH_API_KEY — An API key — the encoded value the cluster hands out, or the secret alongside the id below. Travels as an Authorization: ApiKey header, never in the URL.
SEARCH_ELASTICSEARCH_API_KEY_ID — The key's id, when it is held separately from its secret.

An API key and SEARCH_ELASTICSEARCH_USERNAME together are refused while the client is built: they are two credentials for one request.

Every key is scoped — SEARCH_ELASTICSEARCH_HOST + logs → SEARCH_LOGS_ELASTICSEARCH_HOST. Full reference: kinetis.dev/docs/search.html.

Matching the client to your cluster

elasticsearch/elasticsearch ^8.19 || ^9.0 is accepted, and the major must match the cluster's: a 9.x client sends compatible-with=9, which an 8.x cluster rejects. Composer resolves to the newest allowed release, so an Elasticsearch 8 cluster needs the constraint pinned in your own application:

Installation

Requires PHP 8.4+, kinetis/framework, and kinetis/search. Full documentation: kinetis.dev/docs/search-elasticsearch.html.

License

MIT — see LICENSE.


All versions of search-elasticsearch with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
kinetis/framework Version ^1.14.0
kinetis/search Version ^1.1.0
elastic/transport Version ^8.11 || ^9.0
elasticsearch/elasticsearch Version ^8.19 || ^9.0
psr/container Version ^2.0.2
psr/http-client Version ^1.0.3
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 kinetis/search-elasticsearch contains the following files

Loading the files please wait ...