Overview of Laravel Cross Eloquent Search features
masterThis package provides a unified way to search through multiple Eloquent models simultaneously. Key capabilities include:
- Multi-model Search: Search through one or more Eloquent models.
- Pagination: Supports cross-model pagination.
- Column Flexibility: Search through single or multiple columns, including nested relationships.
- Full-Text Search: Supports Full-Text Search across models and relationships. The package automatically selects the correct strategy based on your database (MySQL native indexes, PostgreSQL
tsquerywithpg_trgm, or SQLiteLIKE). - Sorting & Ordering: Order results by cross-model columns or by relevance.
- Query Customization: Use Eloquent constraints, scoped queries, and eager load relationships for each model.
- Database Support: Works with MySQL, PostgreSQL, and SQLite with zero third-party dependencies.