Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Laravel
  3. Algolia Search

Algolia Search

MITPHP1.7.1

A deprecated Laravel package for integrating Algolia's search API with Eloquent models.

Visit WebsiteGitHubGitHub
238 stars50 forks0 contributors

What is Algolia Search?

Algolia Search API Client for Laravel was a deprecated PHP package that integrated Algolia's hosted search engine with Laravel's Eloquent ORM. It automatically synchronized Eloquent models with Algolia indices, enabling real-time search functionality directly from Laravel applications. The package provided features like automatic indexing, customizable search settings, and manual index management.

Target Audience

Laravel developers building applications that require integrated, real-time search capabilities using Algolia's hosted search engine.

Value Proposition

It offered a straightforward, trait-based integration that automated search indexing and querying within Laravel's ecosystem, reducing the boilerplate needed to connect Eloquent models to Algolia. However, it is now deprecated in favor of the more versatile Laravel Scout.

Overview

[Deprecated] We now recommend using Laravel Scout, see =>

Use Cases

Best For

  • Adding real-time search to Laravel applications using Algolia
  • Automatically syncing Eloquent model data with a search index
  • Configuring custom search relevance and ranking in Laravel
  • Managing search indices and replicas programmatically
  • Handling model relationships in search indexing
  • Performing manual reindexing and clearing of search data

Not Ideal For

  • New Laravel projects starting with Algolia integration
  • Teams requiring active maintenance and security updates
  • Applications needing the flexibility to switch or use multiple search engines
  • Projects where dependency on deprecated packages poses operational risk

Pros & Cons

Pros

Seamless Eloquent Integration

Automatically syncs Eloquent models with Algolia indices using a trait, as shown in the quick start where adding the trait enables indexing without manual setup.

Customizable Search Settings

Allows per-model configuration of searchable attributes, ranking, and synonyms through the $algoliaSettings property, enabling fine-tuned relevance tuning directly in code.

Granular Indexing Control

Supports manual operations like pushToIndex, removeFromIndex, and reindex, giving developers full control over when and how data is synchronized with Algolia.

Relationship Handling

Can index loaded model relationships by customizing the getAlgoliaRecord method, allowing complex data structures to be included in search indices.

Cons

Deprecated and Unmaintained

The package is officially deprecated in favor of Laravel Scout, meaning no future updates, bug fixes, or security patches, which could lead to compatibility issues.

Potential Breaking Changes

As Laravel evolves, this package may become incompatible with newer versions, risking application instability without community or official support.

Vendor Lock-in to Algolia

Unlike Laravel Scout which supports multiple drivers, this package is tightly coupled to Algolia, reducing flexibility if you need to switch search providers later.

Frequently Asked Questions

Quick Stats

Stars238
Forks50
Contributors0
Open Issues0
Last commit8 years ago
CreatedSince 2015

Tags

#algolia-search#laravel#eloquent-orm#algolia-integration#php-package#deprecated#search-engine#full-text-search#php

Built With

P
PHP
L
Laravel

Links & Resources

Website

Included in

Laravel13.0k
Auto-fetched 17 hours ago

Related Projects

LiveWireLiveWire

A full-stack framework for Laravel that takes the pain out of building dynamic UIs.

Stars23,531
Forks1,737
Last commit10 days ago
Debug BarDebug Bar

Debugbar for Laravel (Integrates PHP Debug Bar)

Stars19,227
Forks1,605
Last commit24 days ago
IDE HelperIDE Helper

IDE Helper for Laravel

Stars14,917
Forks1,191
Last commit25 days ago
Intervention ImageIntervention Image

PHP Image Processing

Stars14,339
Forks1,489
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub