Registry / web-framework / laravel-scout

laravel-scout

JSON →
library11.3.0phppackagistunverified

Driver-based solution for searching Eloquent models in Laravel applications.

composer require laravel/scout
INSTALL
IMPORT
SIG · LARAVEL-SCOUT
L
laravel-scout
web-frameworkphpv11.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Searchable
use Laravel\Scout\Searchable;

Add search functionality to an Eloquent model using the Searchable trait.

use Laravel\Scout\Searchable; class Post extends \Illuminate\Database\Eloquent\Model { use Searchable; } $results = Post::search('query')->get();
Debug
Known issues
breakingRequires a search driver (e.g., Algolia, Meilisearch) to be configured; default driver may not work out of the box.
fix
Set SCOUT_DRIVER in .env and install the corresponding driver package.
affects: >=10.0.0
Upgrade
Version history
11.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
laravel-scout — pip install laravel-scout · libregistry