rapidez / reviews
Rapidez Reviews
Installs: 6 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 5
Open Issues: 0
Language:Blade
pkg:composer/rapidez/reviews
Requires
- php: ^8.0
- blade-ui-kit/blade-icons: ^1.8
- rapidez/core: ^4.7
- dev-master
- 4.2.0
- 4.1.0
- 4.0.0
- 3.x-dev
- 3.1.0
- 3.0.0
- 2.x-dev
- 1.2.0
- 1.1.0
- 1.0.0
- 0.6.1
- 0.6.0
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-playwright-magento-version
- dev-bugfix/reduce-query-count
- dev-feature/playwright-test-date-mask
This package is auto-updated.
Last update: 2025-10-03 12:46:41 UTC
README
Installation
composer require rapidez/reviews
If you haven't published the Rapidez views yet, publish them with:
php artisan vendor:publish --provider="Rapidez\Core\RapidezServiceProvider" --tag=views
Configuration
If you'd like to show product reviews on out-of-stock product pages you need to enable this setting in Magento:
Stores > Settings > Configuration > Catalog > Inventory > Stock Options > Display Out of Stock Products
Product page
Review stars
Add the stars where you'd like in resources/views/vendor/rapidez/product/overview.blade.php
:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider')) @if ($product->reviews_score) <x-dynamic-component component="rapidez-reviews::stars" :score="$product->reviews_score :count="$product->reviews_count" /> @endif @endif
Review list
The review list can be added with:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider')) <div class="container my-5"> @include('rapidez-reviews::reviews') </div> @endif
Microdata
This should be included in resources/views/vendor/rapidez/product/overview.blade.php
inside the: <div itemtype="https://schema.org/Product" itemscope>
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider')) @include('rapidez-reviews::components.microdata') @endif
Product listing
Review stars
Add somewhere in resources/views/category/partials/listing/item.blade.php
:
@if (App::providerIsLoaded('Rapidez\Reviews\ReviewsServiceProvider')) <x-dynamic-component component="rapidez-reviews::stars" v-if="item.reviews_count" count="item.reviews_count" score="item.reviews_score" /> @endif
Views
If you need to change the views you can publish them with:
php artisan vendor:publish --provider="Rapidez\Reviews\ReviewsServiceProvider" --tag=views
License
GNU General Public License v3. Please see License File for more information.