PHPackages                             ramzyvirani/rateandreview - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ramzyvirani/rateandreview

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ramzyvirani/rateandreview
=========================

Rate and Review Module for ramzyvirani/laravel-boilerplate

v1.0(6y ago)14PHP

Since Jan 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RamzyVirani/rateandreview)[ Packagist](https://packagist.org/packages/ramzyvirani/rateandreview)[ RSS](/packages/ramzyvirani-rateandreview/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Rate And Review Module for the [Boilerplate](https://github.com/RamzyVirani/laravel-boilerplate)
================================================================================================

[](#rate-and-review-module-for-the-boilerplate)

[![Maintainability](https://camo.githubusercontent.com/4abe6d256662c588c512e1172e7aff187b4a26389def1a19fc72e36f3e3ca4b9/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66396437326564363762356561633564303161662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/RamzyVirani/rateandreview/maintainability)[![Test Coverage](https://camo.githubusercontent.com/e4057d98e1a378aa0bece06bc7c98d4487863809b017ea3e71d4b12a754f81e0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66396437326564363762356561633564303161662f746573745f636f766572616765)](https://codeclimate.com/github/RamzyVirani/rateandreview/test_coverage)

Install this package with my boilerplate to add Rate and Review feature in your application. This module registers below components in the application.

This module implements Laravel's polymorphic relations so that you can easily attach one or more models.

PS: This module is highly dependant on the [Boilerplate](https://github.com/RamzyVirani/laravel-boilerplate). Because this module extends some of the base classes Boilerplate has.

**General**

- Configuration
- Helper
- Migration
- Model
- Repository

**Admin**

- Controller
- Data Table
- Request Classes
- Routes
- Views

**API**

- Controllers
- Criteria
- Request Classes
- Routes

How to install
--------------

[](#how-to-install)

Please make sure that you have completely installed the boilerplate including and most importantly executed the migration from the boilerplate.

Execute below command to add this package in your project's composer dependencies.

```
composer require ramzyvirani/rateandreview "*"

```

Execute below command to publish views and config

```
php artisan vendor:publish --tag=RamzyVirani\RateAndReview\RateAndReviewServiceProvider

```

Execute migrations to create Reviews Table, Module, Menu, Permissions

```
php artisan migrate

```

PS: You will need to login with Super Admin to grant permissions to the admin and other roles.

**How to Add Reviewable Options**

Follow below points to add reviewable options in Admin Panel's Create/Edit forms and also use human readable instance type in Index Details Views.

- Create a new Review Model in your application.
- Extend it from `RamzyVirani\RateAndReview\Models\Review`.
- Declare a public static property (array) named `$INSTANCE_TYPE` (E.g. in the original model).
    - Use FQDN of the polymorphic relations as the key and Human readable text as value
- Change the fqdn in `config/rateandreview.php`

How to Extend Features
----------------------

[](#how-to-extend-features)

To Modify/Extend any functionality, Create a new class and extend it from the original Then, change the namespaces and fqdn in the `config/rateandreview.php`. Implement only those methods you want to modify.

- RamzyVirani\\RateAndReview\\Criteria\\ReviewCriteria
- RamzyVirani\\RateAndReview\\DataTables\\ReviewDataTable
- RamzyVirani\\RateAndReview\\Models\\Review
- RamzyVirani\\RateAndReview\\Controllers\\Admin\\ReviewController
- RamzyVirani\\RateAndReview\\Controllers\\Api\\ReviewAPIController
- RamzyVirani\\RateAndReview\\Repositories\\ReviewRepository

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2315d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/030d8a2b101d8dd634ce38ef5f9b1eaeb5cde45fdea7fe68d35553ecc80abebf?d=identicon)[RamzyVirani](/maintainers/RamzyVirani)

---

Top Contributors

[![RamzyVirani](https://avatars.githubusercontent.com/u/8522676?v=4)](https://github.com/RamzyVirani "RamzyVirani (3 commits)")

---

Tags

laravellaravel-boilerplatephprate-and-reviewratingreview

### Embed Badge

![Health badge](/badges/ramzyvirani-rateandreview/health.svg)

```
[![Health](https://phpackages.com/badges/ramzyvirani-rateandreview/health.svg)](https://phpackages.com/packages/ramzyvirani-rateandreview)
```

###  Alternatives

[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

557407.2k4](/packages/patricktalmadge-bootstrapper)[nwidart/laravel-menus

Laravel Menu management

168180.3k10](/packages/nwidart-laravel-menus)[pingpong/menus

Laravel Menus

70194.4k13](/packages/pingpong-menus)[akaunting/laravel-menu

Menu and sidebar management package for Laravel

38233.8k](/packages/akaunting-laravel-menu)[caouecs/sirtrevorjs

Sir Trevor JS in Laravel project

5421.6k](/packages/caouecs-sirtrevorjs)[rinvex/laravel-menus

Rinvex Menus is a simple menu builder package for Laravel, that supports hierarchical structure, ordering, and styling with full flexibility using presenters for easy styling and custom structure of menu rendering.

294.0k20](/packages/rinvex-laravel-menus)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
