Download the PHP package imaximius/elasticsearch-bundle without Composer

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

ONGR Elasticsearch Bundle

Build Status Latest Stable Version codecov Total Downloads Scrutinizer Code Quality

Elasticsearch Bundle was created in order to serve the need for professional Elasticsearch integration with enterprise level Symfony applications. This bundle is:

Technical goodies:

If you need any help, stack overflow is the preferred way to get answers. is the preferred and recommended way to ask questions about ONGR bundles and libraries.

If you like this library, help me to develop it by buying a cup of coffee

Buy Me A Coffee

Version matrix

Elasticsearch version ElasticsearchBundle version
>= 7.0 ~7.x
>= 6.0, < 7.0 ~6.x
>= 5.0, < 5.0 ~5.x, ~6.x (indexes with 1 type)
>= 2.0, < 5.0 >=1.0, < 5.0
>= 1.0, < 2.0 >= 0.10, < 1.0
<= 0.90.x < 0.10

Documentation

The online documentation of the bundle can be found in http://docs.ongr.io. Docs source is stored within the repo under Resources/doc/, so if you see a typo or some inaccuracy, please submit a PR or at least an issue to fix it!

For contribution to the documentation you can find it in the contribute topic.

FAQ

Setup the bundle

Step 1: Install Elasticsearch bundle

Elasticsearch bundle is installed using Composer.

Instructions for installing and deploying Elasticsearch can be found in Elasticsearch installation page.

Enable ElasticSearch bundle in your AppKernel:

(OPTIONAL) Step 2: Add configuration

Add minimal configuration for Elasticsearch bundle.

This is the very basic example only, for more information, please take a look at the configuration chapter.

Step 3: Define your Elasticsearch types as Document objects

This bundle uses objects to represent Elasticsearch documents. Lets create the Product class for the products index.

This is the basic example only, for more information about a mapping, please take a look at the the mapping chapter.

Step 4: Create index and mappings

Elasticsearch bundle provides several CLI commands. One of them is for creating an index, run the command in your terminal:

Now the products index should be created with fields from your document.

More info about the rest of the commands can be found in the commands chapter.

Step 5: Enjoy with the Elasticsearch

Full documentation for the Elasticsearch bundle is available here. I hope you will create amazing things with it :sunglasses: .

Please note that the updating process of the documentation of the bundle to 6.0 is still under way. Read the configuration and crud sections that are already updated and will allow you to have the basic functions of the bundle. We will update the rest of the documentation as soon as possible

Troubleshooting

License

This bundle is licensed under the MIT license. Please, see the complete license in the bundle LICENSE file.


All versions of elasticsearch-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.0
symfony/framework-bundle Version ^4.4|^5.0
symfony/dependency-injection Version ^4.4|^5.0
symfony/console Version ^4.4|^5.0
symfony/stopwatch Version ^4.4|^5.0
symfony/finder Version ^4.4|^5.0
symfony/serializer Version ^4.4|^5.0
symfony/cache Version ^4.4|^5.0
symfony/property-access Version ^4.4|^5.0
doctrine/annotations Version ^1.6
doctrine/cache Version ^1.7
doctrine/inflector Version ^1.3
doctrine/collections Version ^1.5
monolog/monolog Version ^1.24
elasticsearch/elasticsearch Version ^7.0
ongr/elasticsearch-dsl Version ^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 imaximius/elasticsearch-bundle contains the following files

Loading the files please wait ....