Installation & requirements.
Install the open-source review engine, connect a model, and build your own review experience.
← All Core topicsInstallation
Core is the free, MIT-licensed package. These instructions target the 2.2 series, which includes optional review images. Pro is a separate commercial companion. Install Pro ^1.0 from CodebyRay’s authenticated Composer repository after purchasing a license.
Requirements
- Core supports Laravel 10–13 and PHP 8.1+, subject to the PHP version required by your Laravel release.
- Pro requires Core ^2.2, which Composer installs automatically. Livewire 3.6+ or 4 is needed only when using Pro's Livewire interface; React and Vue installations do not require Livewire.
- Reviewable models and users need compatible numeric IDs. UUID-based identity is not supported by the current core schema.
- Use a supported, patched framework release in production. Historical compatibility is not a reason to deploy an unpatched framework.
Install Core by itself
Use this path when installing only the free Core package. If you purchased Pro for a new application, skip this command and follow Install Pro in a new application—Composer will install Core automatically.
composer require codebyray/laravel-review-rateable:^2.2
php artisan vendor:publish --provider="Codebyray\ReviewRateable\ReviewRateableServiceProvider" --tag=config
php artisan vendor:publish --provider="Codebyray\ReviewRateable\ReviewRateableServiceProvider" --tag=migrations
php artisan migrate
Laravel discovers the provider automatically. The default migrations create reviews and ratings; they do not install an image table. Publish each migration once, inspect it, then run it. Re-publishing timestamped migrations can create duplicates.
Upgrading from 1.x is not an in-place upgrade. Version 2 is a rewrite; plan a data migration and update your integration before changing versions.