Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Elastica Bundle

Elastica Bundle Laravel Package

maximenko/elastica-bundle

A Symfony bundle that integrates the Elastica Elasticsearch client, offering configuration, service wiring, and convenient indexing and search tools. It simplifies adding Elasticsearch-powered search to Symfony applications.

View on GitHub
Deep Wiki
Context7

Elasticsearch PHP integration for your Symfony2 project using Elastica

Frequently asked questions about Elastica Bundle
Can I use maximenko/elastica-bundle in a Laravel application?
It is a Symfony2 bundle, so it registers through Symfony's Kernel and ContainerBuilder rather than Laravel's service provider model. There is no ServiceProvider, no config merge path, and no way to boot it from bootstrap/app.php. You can use the underlying Elastica library directly in Laravel, but the bundle itself is not portable.
How do I install maximenko/elastica-bundle with Composer?
You would run composer require maximenko/elastica-bundle, but note the package name does not match its source repository (FOSElasticaBundle), which is a sign of a personal fork. Installation registers a Symfony bundle, so it assumes a Symfony application structure. For a Laravel project, installing it will not wire anything into the framework.
Which Laravel versions support maximenko/elastica-bundle?
None. The package is a Symfony2 bundle and has no Laravel service provider, facade, or configuration integration. It targets Symfony's bundle system, not Laravel's package discovery. Laravel version compatibility is therefore not applicable.
Is maximenko/elastica-bundle the same as FOSElasticaBundle?
The repository it points to is FOSElasticaBundle, indicating this is a fork or republish rather than an original distribution. Its description frames it as a Symfony2 bundle for the Elastica client, matching upstream's architecture. You should evaluate upstream FOSElasticaBundle for a Symfony project and verify license inheritance before using the fork.
Does maximenko/elastica-bundle support Elasticsearch 7 or 8?
The bundle and Elastica historically tracked the Elasticsearch 1.x through 5.x era, including mapping types and older query DSL. Elasticsearch 7.x and 8.x removed mapping types and changed client transport, so compatibility with a current cluster is unlikely. Failures often appear at runtime as rejected mappings or malformed queries rather than at install time.
What is the difference between maximenko/elastica-bundle and the official elasticsearch/elasticsearch client?
The official elasticsearch/elasticsearch client is maintained by Elastic and supports current server versions and transport changes. maximenko/elastica-bundle wraps the older Elastica library and adds Symfony-specific configuration, service wiring, and Doctrine sync listeners. For a Laravel app, the official client or a maintained Laravel package is the safer choice.
How do I configure Elasticsearch connections with maximenko/elastica-bundle?
Configuration is done through Symfony configuration files, defining clients, indexes, and types that the bundle registers in the container. There is no equivalent config/elastica.php merge path for Laravel. In Laravel you would configure the Elastica client or official client manually in a service provider.
Can I use Laravel Scout with maximenko/elastica-bundle?
No. Laravel Scout integrates through its own engine contract and drivers, and this Symfony bundle does not implement a Scout driver. Scout with an Elasticsearch engine requires a maintained driver package. The bundle's value is in Symfony container wiring and Doctrine listeners, which Scout does not use.
Is maximenko/elastica-bundle safe for production?
The package shows no maintainer signal, zero stars, and zero dependents, so adopting it means being an early production user of untested code. It also carries protocol drift risk against modern Elasticsearch and framework lock-in to Symfony2. For a user-facing search surface, that is uncompensated supply-chain risk.
What alternatives should I consider for Elasticsearch in Laravel?
Consider the official elasticsearch/elasticsearch client wrapped in your own service provider, or Laravel Scout with a maintained Elasticsearch driver. If your stack is actually Symfony, evaluate upstream FOSElasticaBundle instead. All of these have documentation, dependents, and a release cadence the fork lacks.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections