scout-development

Configure Laravel Scout engines and implement full-text search queries.

15|3|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/signals-rental/framework --skill scout-development-signals-rental
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scout-development
Source: https://github.com/signals-rental/framework/tree/main/.claude/skills/scout-development
Command: npx skills add https://github.com/signals-rental/framework --skill scout-development-signals-rental

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers to implement and optimize Laravel Scout full-text search, including selecting engines, indexing, and querying, within Laravel projects.

Core Features & Use Cases

  • Engine selection & configuration: guides choosing among Database, Collection, Algolia, Meilisearch, and Typesense.
  • Model integration & indexing: demonstrates adding the Searchable trait, customizing toSearchableArray and searchableAs, and importing or flushing indexes.
  • Querying & troubleshooting: covers writing search queries with where clauses, pagination, soft deletes, and resolving common issues.

Quick Start

Follow the documented steps to enable Scout in your Laravel project and choose an engine, then implement a simple searchable model as a first test.

Frequently Asked Questions about scout-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add full-text search to a Laravel model using Scout?

To add full-text search to a Laravel model, use Scout by installing the package, configuring your preferred engine, and adding the Searchable trait to your Eloquent models. This enables automatic indexing and querying capabilities for your application data.

Which search engines can I configure with Laravel Scout?

Laravel Scout supports configuration with Algolia, Meilisearch, Typesense, Database, and Collection engines. You can select and configure the engine that best fits your project's scale and full-text search requirements during setup.

How do I customize the searchable index structure in Laravel Scout?

You can customize the searchable index structure in Laravel Scout by overriding the toSearchableArray method on your model to define exactly what data gets indexed, and the searchableAs method to specify the custom index name.

Can I use where clauses and pagination with Laravel Scout search queries?

Yes, Laravel Scout allows you to write search queries that include where clauses and pagination. You can also handle soft deletes within your search queries to ensure only active records are returned in the search results.

How do I import and flush search indexes in a Laravel project?

To manage search indexes in a Laravel project, Scout provides commands for importing existing records into your search engine and flushing indexes. This workflow ensures your searchable models are synchronized with the configured engine.

Why are my Laravel Scout search results missing records or returning empty?

Missing or empty Laravel Scout search results often indicate indexing issues or misconfigured queries. Troubleshooting involves verifying your toSearchableArray output, checking engine configuration, and ensuring your index import commands ran successfully.