NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4333 most downloaded on Packagist
Search among multiple models with ElasticSearch and Laravel Scout
Latest stable
v7.14.3
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 51 of 53 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
57 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Implement optional TrackedJob into the package for parallel imports by @DavisPuciriuss in https://github.com/matchish/laravel-scout-elasticsearch/pull
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/8.0.0-alpha.3...v8.0.0-alpha.4
Full Changelog: 8.0.0-alpha.3...v8.0.0-alpha.4
Merged master into 8.x branch, while also updating the usage of "mateusjunges/laravel-trackable-jobs" which had a new major version released (Previous
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Merged master into 8.x branch, while also updating the usage of "mateusjunges/laravel-trackable-jobs" which had a new major version released (Previous major version collides with Laravel 12, making it unusable for our project).
Updated Dockerfile syntax, updated to php8.4. Updated usage of laravel-trackable-jobs (now is an interface instead of a trait). Fixed larastan issues. Added optional ElasticsearchParams and Searchable trait contracts, more useful for phpdocs rather than anything else. Merged and fixed merge conflicts with master branch. Updated README to include information on how to set-up parallel handlers.
EloquentHitsIteratorAggregate trait for properties. by @DavisPuciriuss in https://github.com/matchish/laravel-scout-elasticsearch/pull/281
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/8.0.0-alpha.1...8.0.0-alpha.2
It is a prerelease that introduces parallel import that should speed up import significantly
It is a prerelease that introduces parallel import that should speed up import significantly
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.6.1...8.0.0-alpha.1
A patch release with one fix and one new hint.
A patch release with one fix and one new hint.
scout:import and scout:flush with no model argument could fail with "Cannot use ... because the name is already in use", even when all files in app/ were valid (#284). The model search kept the use statements of one file for the next file when that file had no namespace statement. Because of this, the result depended on the file order, and it could be different on two machines. Now the search reads each file on its own. A file with a real duplicate use is skipped, as a file with a syntax error is.
When a class that the model search loads stops PHP with a fatal error, the commands now show the class, the file and the line of the error. The hint also tells how to skip the search: give the model class to the command, for example php artisan scout:import "App\Models\YourModel".
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.14.2...v7.14.3
scout:import and scout:flush without a model argument now show a hint when a fatal error stops PHP during the model search. The hint gives the class, the file and the line, and tells how to prevent the search. #345scout:import and scout:flush without a model argument no longer fail with "Cannot use ... because the name is already in use" when the files are valid. Before, the model search used one list of use statements for all files in app/, and the result depended on the file order. A real duplicate use in one file now skips that file, as a syntax error does. #284 #344A patch release with three fixes.
A patch release with three fixes.
Importantly, scout:import with no model argument could die with a class-not-found error on installs without nikic/php-parser — for example after composer install --no-dev. The package used it to find searchable models but never declared it. It is now a direct dependency, together with symfony/finder.
where() also stops producing queries Elasticsearch rejects: an unsupported operator such as like now throws an InvalidArgumentException that names it, <> works like !=, and = null / != null check whether the field has a value.
One behaviour change to note: where('field', '<>', $queryObject) now excludes the documents that match the query object. Before, the operator was ignored and the object became a filter.
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.14.1...v7.14.2
scout:import without a model argument failed with a class-not-found error wherever nikic/php-parser was absent — for example after composer install --no-dev. The package uses it to find searchable models but never declared it: until 7.12.0 it arrived through roave/better-reflection. nikic/php-parser and symfony/finder are now direct dependencies. #273 #326where() with an unsupported operator, for example like, now throws an InvalidArgumentException that names the operator. Before, Elasticsearch rejected the query with a 400 error. <> now works the same as !=. #333where() with a null value now checks if the field has a value: = null finds documents without a value, and != null finds documents with a value. Before, Elasticsearch rejected the query with a 400 error. #333where() with the <> operator and an Elasticsearch query object now excludes the documents that match it (must_not). Before, the operator was ignored and the query object became a filter. #333HitsIteratorAggregate that keeps the highlights from a search. #328paginate() on a MixedSearch with a query() callback now works. Before, it failed with "Base table or view not found", because Scout counted rows in a
paginate() on a MixedSearch with a query() callback now works. Before, it failed with "Base table or view not found", because Scout counted rows in a table that does not exist. (#227)MixedSearch now leaves out soft-deleted models when scout.soft_delete is true, as Model::search() does. Before, it returned them. Use withTrashed() to include them.Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.14.0...v7.14.1
Support for PHP 8.0/8.1, Laravel 8–11 and Scout 8–10 is removed. These versions no longer get security fixes, and Composer refuses to install any Lara…
This release requires PHP 8.2+, Laravel 12 or 13 and Laravel Scout 11.
Support for PHP 8.0/8.1, Laravel 8–11 and Scout 8–10 is removed. These versions no longer get security fixes, and Composer refuses to install any Laravel 8–11 release because of open security advisories. The public API does not change. Composer keeps applications on older versions on 7.13.x.
From now on, a minor release drops a PHP or Laravel version when that version reaches its end of life. See the Requirements section of the README.
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.13.0...v7.14.0
Update larastan by @matchish in https://github.com/matchish/laravel-scout-elasticsearch/pull/316
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.12.0...v7.13.0
FIX: Remove roave/better-reflection dependency and replace with native PHP reflection by @Copilot @bram-pkg @hkulekci in https://github.com/matchish/l
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.11.2...v7.12.0
Typo fix by @royduin in https://github.com/matchish/laravel-scout-elasticsearch/pull/310
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.11.1...v7.11.2
Upgrade cache action by @matchish in https://github.com/matchish/laravel-scout-elasticsearch/pull/308
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.11.0...v7.11.1
mailerlite/laravel-elasticsearch, allowing smoother migration without requiring .env changes. #XXXDo not add empty query by @hulkur in https://github.com/matchish/laravel-scout-elasticsearch/pull/296
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.10.0...v7.11.0
query_string query even if query string is empty when no where clauses are set.Allow setting source (fields) from options by @hulkur in https://github.com/matchish/laravel-scout-elasticsearch/pull/293
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.9.0...v7.10.0
Fix for using pagination with custom query in Scout Builder. by @Malezha in https://github.com/matchish/laravel-scout-elasticsearch/pull/290
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.8.0...v7.9.0
options() of a builder for set from parameter.take() method of builder for setting response size.Added support for whereNotIn() conditions. by @swayok in https://github.com/matchish/laravel-scout-elasticsearch/pull/286
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.7.0...v7.8.0
Add config option to configure SSL verification by @hulkur in https://github.com/matchish/laravel-scout-elasticsearch/pull/283
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.6.2...v7.7.0
Change if conditions order in soft deletes check for compatibility by @rafaucau in https://github.com/matchish/laravel-scout-elasticsearch/pull/282
Full Changelog: https://github.com/matchish/laravel-scout-elasticsearch/compare/v7.6.1...v7.6.2
### Fixed - fix for parser incompatibility
Add one more condition. If the search() method does not pass any parameter, there is no need to add QueryStringQuery object.
### Added - Added support for php 8.3
https://github.com/matchish/laravel-scout-elasticsearch#conditions
https://github.com/matchish/laravel-scout-elasticsearch#conditions
https://github.com/matchish/laravel-scout-elasticsearch/pull/253
https://github.com/matchish/laravel-scout-elasticsearch/pull/253
https://github.com/matchish/laravel-scout-elasticsearch/issues/247
https://github.com/matchish/laravel-scout-elasticsearch/issues/247
Nothing published for this version
Closes https://github.com/matchish/laravel-scout-elasticsearch/issues/235
Closes https://github.com/matchish/laravel-scout-elasticsearch/issues/235
Nothing published for this version
https://github.com/matchish/laravel-scout-elasticsearch/issues/224
https://github.com/matchish/laravel-scout-elasticsearch/issues/224
Elasticsearch basic authentication support
To support Laravel Nova implementation of lazyMap introdubced
To support Laravel Nova implementation of lazyMap introdubced
### Added - Elasticsearch 8 Support
Closes #236 Update to support Laravel 10
Closes #236 Update to support Laravel 10
multiple ElasticSearch nodes support
### Added - whereIn filter support
PHP 8 Support Laravel Scout 9 Support
PHP 8 Support Laravel Scout 9 Support
Avoid Conflict Helper Function resolve() In Some Packages
resolve() In Some Packages### Added - whereIn filter support
Support Scout 9
Support Scout 9
Find searchable classes when inherited through traits
Fix https://github.com/matchish/laravel-scout-elasticsearch/issues/139
Fix https://github.com/matchish/laravel-scout-elasticsearch/issues/139
#135
Prevent unnessasary send \Laravel\Scout\Jobs\MakeSearchable to a queue
\Laravel\Scout\Jobs\MakeSearchable to a queue### Added - Scout 8 Support
Find searchable classes when inherited through traits
Parse PHP to find searchable classes without loading them
#135
### Added - Load config from package #84
Populate routing meta-field #90
Respect the model uses soft delete
Elasticsearch 7 support Added interface binding for HitsIteratorAggregate for custom implementation
Elasticsearch 7 support Added interface binding for HitsIteratorAggregate for custom implementation
Now you can eager load relations
Now you can eager load relations
Throw exception if there are elasticsearch errors when we update models in index
Throw exception if there are elasticsearch errors when we update models in index
### Added - Search amongst multiple models
Added progress report for console commands
Added progress report for console commands
You should bootstrap Elasticsearch client on your own or register \Matchish\ScoutElasticSearch\ElasticSearchServiceProvider in your application
You should bootstrap Elasticsearch client on your own or register \Matchish\ScoutElasticSearch\ElasticSearchServiceProvider in your application
### Added - Default config
Implemented all basic scout engine methods
One column per quarter.