Weave 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

Bouncy Laravel Package

fadion/bouncy

Bouncy maps Elasticsearch search results to Laravel Eloquent models, letting you work with familiar collections while adding indexing and search enhancements. Supports manual or automatic indexing on create/update/delete, plus mappings, pagination, highlights, and client access.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Search-Driven Features: Enables rapid development of search-heavy applications (e.g., e-commerce product discovery, content platforms, or internal knowledge bases) by bridging Elasticsearch with Eloquent models without reinventing the wheel.
  • Roadmap Acceleration: Reduces time-to-market for search functionality by leveraging an existing, Laravel-native solution instead of building a custom integration (build vs. buy).
  • Data Consistency: Supports real-time indexing (create/update/delete triggers) to ensure Elasticsearch stays in sync with your database, critical for applications requiring up-to-date search results (e.g., SaaS dashboards, analytics tools).
  • Developer Experience: Simplifies search logic for backend teams by abstracting Elasticsearch queries into Eloquent-like syntax, reducing cognitive load and onboarding time for junior developers.
  • Legacy System Modernization: Useful for migrating older Laravel applications to Elasticsearch without rewriting search logic from scratch.

When to Consider This Package

  • Adopt if:

    • You’re using Laravel 5 (or can fork/maintain the l5 branch) and need a lightweight, Eloquent-compatible Elasticsearch integration.
    • Your search use cases are moderate in complexity (e.g., full-text search, faceted navigation, or basic aggregations) and don’t require advanced Elasticsearch features (e.g., geospatial queries, custom analyzers, or percolation).
    • You prioritize simplicity over customization—the package is opinionated and may not support niche Elasticsearch configurations.
    • Your team lacks Elasticsearch expertise but needs search functionality quickly (e.g., MVPs, prototypes, or internal tools).
  • Look elsewhere if:

    • You’re using Laravel 6+ (the package is unmaintained; consider Scout or Laravel Elasticsearch instead).
    • You need advanced Elasticsearch features (e.g., custom mappings, synonyms, or real-time analytics) that this package doesn’t support.
    • Your data model is highly complex (e.g., polymorphic relationships, deeply nested JSON) and requires fine-grained control over indexing.
    • You require active maintenance or enterprise-grade support (this package is abandoned; last release was 2015).
    • You’re building a scalable search system (e.g., for millions of documents) and need tuning for performance/cost (e.g., bulk indexing, shard management).

How to Pitch It (Stakeholders)

For Executives: "Bouncy lets us ship search functionality in weeks instead of months by leveraging Elasticsearch without the complexity. It’s like Eloquent for search—our backend team can query models with familiar syntax (e.g., Post::search('laravel')->get()), while keeping data in sync automatically. This is a low-risk way to add search to [Product X] without hiring Elasticsearch experts or building custom integrations. The trade-off? We’ll need to monitor performance as the dataset grows, but for our MVP, it’s a no-brainer."

For Engineering: *"Bouncy is a lightweight, Laravel-native wrapper for Elasticsearch that maps results to Eloquent models. Key benefits:

  • Zero boilerplate: Indexes models automatically (create/update/delete) or manually.
  • Eloquent compatibility: Use where(), orderBy(), and pagination as usual, but with search.
  • Quick setup: Works out-of-the-box for simple use cases (e.g., full-text search, highlights). Downsides: Unmaintained (last release 2015), limited to Laravel 5, and lacks advanced features. If we need more, we’ll need to extend it or switch to Scout/Laravel Elasticsearch later. For now, it’s a great way to validate search demand without over-engineering."*

For Developers: *"If you’re on Laravel 5 and need Elasticsearch but hate writing raw queries, Bouncy lets you search models like this:

$results = Post::search('laravel')->paginate(10);
// Returns a collection of Eloquent models, with metadata like highlights.

It handles indexing too—just add use Bouncy\Traits\Bouncy; to your model. No need to manually sync Elasticsearch. But: It’s abandoned, so test thoroughly and be ready to fork if you hit limits."*

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.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator