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

Searchable Laravel Package

ajcastro/searchable

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Search Functionality for Internal Tools: Enables rapid implementation of search in admin dashboards, internal CRUD interfaces, or reporting tools without building custom query logic.
  • API Search Endpoints: Accelerates development of public-facing APIs requiring search (e.g., /api/posts?search=...), reducing backend complexity.
  • Derived Column Search: Justifies use for complex queries involving concatenated fields (e.g., "author full name") or computed values (e.g., "price + tax").
  • Build vs. Buy Decision: Avoids reinventing search wheels for Laravel apps, especially when MySQL is the database. Lowers technical debt for search-heavy features.
  • Roadmap Prioritization: Validates whether to invest in a full-text search solution (e.g., Algolia) vs. leveraging database-native search for simpler use cases.
  • Multi-Tenant or Shared Data Models: Simplifies search across joined tables in SaaS apps where users query shared datasets (e.g., "Find all projects with a client named X").

When to Consider This Package

  • Avoid if:
    • You need full-text search (e.g., typo tolerance, relevance scoring) → Use Laravel Scout or Elasticsearch.
    • Your app uses non-MySQL databases (PostgreSQL, SQLite) → This package is MySQL-only.
    • Search requires advanced analytics (e.g., faceted search, aggregations) → Consider dedicated search engines.
    • You’re building a public-facing search with high scale → Evaluate Algolia, Meilisearch, or OpenSearch.
    • Your team lacks Laravel/Eloquent familiarity → May require additional onboarding.
  • Consider if:
    • Search is simple pattern-matching (exact/partial string matches).
    • You’re already using Laravel + MySQL and need quick integration.
    • Search involves joined tables or derived columns (e.g., "search by author full name").
    • Your use case is internal tools or low-scale APIs (not user-facing search).

How to Pitch It (Stakeholders)

For Executives: "This package lets us add search to Laravel-powered tables/APIs in hours, not weeks. For example, our /api/posts endpoint can support ?search=... with minimal backend work—ideal for internal tools or low-complexity public search. It’s lightweight, open-source (MIT), and avoids vendor lock-in. Perfect for MVP features or admin dashboards where full-text search isn’t critical."

For Engineering: *"Searchable is a battle-tested Laravel package that handles complex MySQL queries with joins/derived columns via Eloquent. It’s a drop-in solution for:

  • Admin panels: Search across joined tables (e.g., posts.title + authors.name).
  • APIs: Add ?search= to any Eloquent query with zero custom SQL.
  • Prototyping: Quickly test search before committing to a dedicated search engine. Tradeoff: MySQL-only, but if we’re already using it, this saves dev time. Demo: GitHub."*
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle