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.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.
graham-campbell/flysystem
bugban/symfony
beyonder-capi/workflow-extensions-bundle
beyonder-capi/job-queue-bundle
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php