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

Explorer Laravel Package

jeroen-g/explorer

Laravel-friendly wrapper for Explorer, a lightweight full-text search engine. Index and search your Eloquent models with simple configuration, fast queries, and flexible ranking/filters. Ideal for adding on-site search without running Elasticsearch or Algolia.

View on GitHub
Deep Wiki
Context7

Console commands

Create

Use Laravel Scout import command to create and update indices.

php artisan scout:import <model>

For example, if your model is "App\Models\Post" then command would be like this:

php artisan scout:import "App\Models\Post"

If you want to recreate an index, first make sure it's deleted and then create it. Follow up with a scout import to refill the index as well.

Update Aliased Indexes

If you are using Aliased Indexes, you should use this command instead of scout:import

php artisan elastic:update <index?>

You can specify an index or choose to omit it and the command will update all your indexes. For example, if your model is "App\Model\Post" and the index is "posts":

php artisan elastic:update posts

Delete

php artisan scout:delete-index <model>

Use Laravel Scount delete-index command to delete the indices.

Search

php artisan elastic:search <model> <term> --fields=<fields>

Rudimentary command to test a basic search query.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests