Download the PHP package kiwfy/simple-elasticsearch-php without Composer
On this page you can find all versions of the php package kiwfy/simple-elasticsearch-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kiwfy/simple-elasticsearch-php
More information about kiwfy/simple-elasticsearch-php
Files in kiwfy/simple-elasticsearch-php
Package simple-elasticsearch-php
Short Description PHP library to connect to and use Elasticsearch
License GPL-3.0-only
Informations about the package simple-elasticsearch-php
Simple Elasticsearch PHP
PHP library to connect to and use Elasticsearch in a simple way.
Installation
Release 7.0.0 Requires PHP 8.3
Release 6.0.0 Requires PHP 8.2
Release 5.0.0 Requires PHP 8.1
Release 4.0.0 Requires PHP 7.4
Release 3.0.0 Requires PHP 7.3
Release 2.0.0 Requires PHP 7.2
Release 1.0.0 Requires PHP 7.1
The recommended way to install is through Composer.
Usage
Setting up connection
Checking if connection is available
Putting an index
Putting a mapping
Putting a template
Getting an index
Getting a mapping
Getting a template
Posting a document with template
Posting a document passing the id
Getting a document by his id
Deleting a document by his id
Searching documents
Listing documents
Listing documents paginated
Executing 'SQL' querys
Executing 'SQL' querys with cursor to paginate
Translating 'SQL' query to 'DSL' query
Deleting template
Deleting index
Aggregating documents
if you want an environment to run or test it, you can build and install dependences like this
Access the container
Verify if all dependencies is installed
and run
Development
Want to contribute? Great!
The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all validations.
To ensure that the entire project is fine:
First you need to building a correct environment to install all dependences
Access the container
Install all dependences
Run all validations
Not Empty Foundation - Free codes, full minds