scout-development

Configure Laravel Scout engines, model indexing, and search queries.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aarongmx/FacturacionLoop --skill scout-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scout-development
Source: https://github.com/aarongmx/FacturacionLoop/tree/main/.claude/skills/scout-development
Command: npx skills add https://github.com/aarongmx/FacturacionLoop --skill scout-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill guides developers through implementing Laravel Scout full-text search, covering engine selection, model integration, indexing workflows, and query construction to deliver fast, relevant results.

Core Features & Use Cases

  • Guidance on choosing an engine (Algolia, Meilisearch, Typesense, Database, or Collection) and configuring SCOUT_DRIVER.
  • Instructions for making models searchable via the Searchable trait and customizing toSearchableArray or searchableAs.
  • Procedures for importing, flushing, and maintaining search indexes; crafting effective queries with where clauses, pagination, and soft deletes; and troubleshooting results.

Quick Start

Configure Scout in your Laravel project and begin indexing a model to observe search results.

Frequently Asked Questions about scout-development

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

FAQPage Schema
How do I set up full-text search in Laravel using Scout?

Full-text search in Laravel is set up by configuring the SCOUT_DRIVER, applying the Searchable trait to models, and importing records into the search index to enable fast querying.

Which search engines can I use with Laravel Scout?

Laravel Scout supports multiple engines including Algolia, Meilisearch, Typesense, Database, and Collection, letting you choose the best driver for your application's search requirements.

How do I customize the searchable data for a Laravel model?

You can customize searchable data by overriding the toSearchableArray method to define exactly which attributes are indexed, and the searchableAs method to set a custom index name.

Can I filter Laravel Scout search results with where clauses and pagination?

Yes, Laravel Scout allows you to craft search queries with where clauses for filtering, apply pagination for large result sets, and handle soft deletes to manage excluded records.

Why are my Laravel Scout search results missing or outdated?

Outdated or missing Scout results often stem from index synchronization issues; you can troubleshoot by flushing and re-importing models to rebuild the search index correctly.

Is Laravel Scout engine-agnostic for different project scales?

Yes, Laravel Scout provides an engine-agnostic setup, allowing you to switch between drivers like Database for local development and Algolia or Meilisearch for large-scale production search.