Weave Code
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

Laravel Scout Tntsearch Driver Laravel Package

teamtnt/laravel-scout-tntsearch-driver

View on GitHub
Deep Wiki
Context7
v16.2.0

Adds support for the Scout query constraints whereIn() and whereNotIn(), which were previously stored on the builder but silently ignored by the engine.

City::search("san")->whereIn("country", ["United States", "Brazil"])->get();
City::search("san")->whereNotIn("country", ["United States"])->get();

getBuilder() now applies $whereIns / $whereNotIns to the underlying query. The properties are guarded so Scout versions that predate these methods continue to work unchanged. Tests added for both constraints, including the missing-property (older Scout) case.

Full Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v16.1.1...v16.2.0

v16.1.1

Fixes where() constraints and soft-delete filtering on Laravel Scout 11.

Scout 11 changed Builder->wheres from an associative [field => value] array to a list of [field => ..., operator => ..., value => ...] arrays. The ^11 composer constraint was added previously without updating the engine, so where() clauses and soft-delete handling broke on Scout 11.

applyWheres() and handleSoftDeletes() now detect the entry shape per clause and support both formats, so operators are honored on Scout 11 while Scout <=10 continues to work. Added tests covering both formats.

Full Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v16.1.0...v16.1.1

v16.1.0

What's new

Stopwords support (#356)

You can now exclude common words (articles, prepositions, etc.) from being indexed via a new stopwords option in the tntsearch block of config/scout.php:

'tntsearch' => [
    // ...
    'stopwords' => ['a', 'the', 'in'],
],

Applied on all indexing paths — scout:import, tntsearch:import and model saves. Stopwords take effect at indexing time, so reimport your models after changing them.

Read-replica friendly database access (#346)

The driver now uses getReadPdo() instead of getPdo() in the service provider, engine and import command. Since the driver only ever reads from your database (index writes go to the separate index file), running imports from an instance with a read-only database connection now works.

Fixes

  • Require teamtnt/tntsearch ^4.0|^5.0 (#363) — the driver calls fuzziness setters that only exist since tntsearch 4.0, so older tntsearch versions produced a fatal on boot
  • README: document registering service providers in bootstrap/providers.php on Laravel 11+ (#378, #388 — thanks @ultrono), and document the new stopwords option

Full Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v16.0.0...v16.1.0

v16.0.0

Laravel 13 support

This release adds full Laravel 13 compatibility.

What's changed

  • Allow illuminate/* ^13 and laravel/scout ^11 in composer constraints (#382, #383) — on Laravel 13, Scout resolves to v11.3.0+, the first Scout release compatible with Laravel 13
  • Fix infinite recursion in the engine extend closure on Laravel 13 (#387) — Laravel 13's Manager::extend rebinds the closure's $this and scope to the manager, which routed the driver's internal helper calls through Manager::__call back into the same closure
  • Declare TNTSearch v5 compatibility (#379) and PHPUnit 11–13 in dev dependencies
  • Set builder in mapping functions (#377)

Requirements on Laravel 13

  • PHP ^8.3 (required by Laravel 13 itself)
  • laravel/scout ^11.3
  • teamtnt/tntsearch ^5.0

Full Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v15.0.0...v16.0.0

v15.0.0
v14.0.0
v13.2.0
v13.1.0
v13.0.0
v12.5.0
v12.4.0
v12.3.0
v12.2.0
v12.1.0
v12.0.0
v11.6.0
v11.5.0
v11.4.0
v11.3.0
v11.2.0
v11.1.0
v11.0.0
v10.0.0
v9.0.0
v8.3.0
v8.2.0
v8.1.0
v8.0.0
v7.2.0
v7.1.0
v7.0.0
v6.1.0

This release starts from 6.1 to match the laravel scout version

v3.3.0
v3.2.2
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle