nzo/elastic-query-bundle
A Laravel/PHP bundle for building Elasticsearch queries with a fluent, reusable API. It helps organize search filters, aggregations, and query clauses so complex Elasticsearch logic stays maintainable.
composer require <vendor>/<package> — v3.1.1 is a patch release on the 3.x line, so it is a drop-in upgrade for anyone already on ^3.0; no composer.json constraint changes are needed.php artisan vendor:publish --tag=<package>-config, then php artisan config:clear.app(<Package>::class) or the bound contract) — this is the fastest smoke test, and it is exactly the code path touched by v3.1.1.config/<package>.php, and let the package's config builder validate them at boot so misconfiguration fails loudly instead of silently falling back to defaults.config/<package>.php and keep environment-specific values in .env. Because configuration is schema-validated, prefer adding options through the published config rather than mutating the package at runtime.app(...) facades; this keeps your code testable and insulated from internal class changes like the TreeBuilder return-type fix in v3.1.1.register() method (before config caching kicks in), not in boot().config([...]) overrides inside setUp() or per-test to exercise alternate configurations; combine with RefreshDatabase where the package persists state.TreeBuilder return type declaration (PHP 8.4 deprecation noise). There are no behaviour changes, no signature removals, and no config key changes. Upgrading from any 3.1.x is safe without code modification.: TreeBuilder return type from your overrides to match, and add a test that instantiates your subclass — the parent's declaration is now less specific.php artisan config:cache after upgrading in production; a stale cached config can mask the fix and keep surfacing deprecation notices from previous deploy artefacts.storage/logs/laravel.log and the deprecation channel only. Check php -v if you are seeing them; the fix targets PHP 8.4, so the notice will not appear at all below that version.php artisan vendor:publish --tag=<package>-config --force in a throwaway branch — the diff usually reveals a renamed or newly-required key.How can I help you explore Laravel packages today?