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

Rating Laravel Package

ghanem/rating

Ghanem Rating is a flexible Laravel package for adding ratings and reactions to any Eloquent model. It supports multiple rating types, average score calculations, user-specific ratings, and simple integration with Blade views and APIs. Ideal for star ratings, likes, and other feedback.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature go/no-go for social proof: Informs whether to add star ratings to products, content, profiles, or marketplace listings as an MVP test rather than a fully scoped reviews platform.
  • Build vs. buy: Provides a credible “buy” (adopt) option for basic rating capture and aggregation, so the team can compare a 1–2 sprint in-house build against package integration and ownership costs.
  • Roadmap sequencing: Supports deferring custom ratings infrastructure and redirecting engineering toward differentiators such as recommendations, verified-purchase reviews, moderation, and analytics.
  • MVP scoping: Enables a thin slice—rateable model, one rating per user, average/count display—to validate user demand before investing in anti-abuse, text reviews, media, and moderation tooling.
  • Product rules definition: Forces decisions the package likely will not make for you: minimum ratings before display, Bayesian/weighted averaging, rating windows, edit/delete behavior, and per-tenant visibility.
  • Instrumentation planning: Ratasets can feed sorting, search ranking, and social-proof modules, but the PM should assume event tracking and analytics hooks must be added separately.

When to Consider This Package

  • Adopt when: You are on Laravel/PHP, need simple polymorphic star ratings, have a small team, and value speed over bespoke infrastructure.
  • Adopt when: Requirements are limited to integer ratings, one rating per user per object, and average/count retrieval; the UI and business rules can live in your application.
  • Adopt when: You are willing to vendor/fork the code, pin a version, add tests, and accept ownership—MIT licensing makes this viable.
  • Look elsewhere when: You need text reviews, photos/video, moderation queues, verified-purchase badges, spam/fraud detection, multi-criteria ratings, reactions, weighted averages, audit trails, or multi-tenant isolation.
  • Look elsewhere when: You need API-first/headless ratings, high-volume caching, event streaming, or a managed reviews vendor with SLAs.
  • Diligence signal: 87 stars and 0 dependents indicate limited production evidence; the future-dated release (2026-08-02) should be treated as a data anomaly until verified. Run a short spike and code audit before committing.

How to Pitch It (Stakeholders)

  • To executives: This is a low-cost, MIT-licensed shortcut to test ratings without committing a full sprint to custom infrastructure. It reduces time to market for social-proof experiments, and because we will isolate it behind an internal interface, lock-in is low. The trade-off is that it is a small open-source project, so we will budget a small amount of engineering ownership and avoid using it for core trust-and-safety features until hardened.
  • To engineering: It is an Eloquent-friendly Laravel package that can be integrated behind a RatingService abstraction, with schema and trait usage kept out of controllers and views. We will pin/fork the dependency, add contract and integration tests, and define display rules (minimum counts, weighted averages) in application code—not in the package. Recommend a pilot on a low-risk surface first.
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.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource