PHPackages                             allcaretravel/nova-rating-field - 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. allcaretravel/nova-rating-field

ActiveLibrary

allcaretravel/nova-rating-field
===============================

Add start rating field to Laravel Nova

v1.0.5(4y ago)067MITVue

Since Sep 15Pushed 4y agoCompare

[ Source](https://github.com/allcaretravel/nova-rating-field)[ Packagist](https://packagist.org/packages/allcaretravel/nova-rating-field)[ Docs](https://github.com/allcaretravel/nova-rating-field)[ RSS](/packages/allcaretravel-nova-rating-field/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (19)Used By (0)

Nova Rating field
=================

[](#nova-rating-field)

A **Star rating field** to use in your Laravel Nova apps.

Uses [vue-star-rating](https://github.com/craigh411/vue-star-rating).

[![Latest Version on Packagist](https://camo.githubusercontent.com/17863292255fb94db94b053512c43cfafc6bd75c2116cf2dd36353f4f83ac832/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e696b6169612f6e6f76612d726174696e672d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nikaia/nova-rating-field)[![Total Downloads](https://camo.githubusercontent.com/b47757ebbc41cd6ce55f4ce49e8aac0c11a87b39abcf89fb5513820593c827f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e696b6169612f6e6f76612d726174696e672d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nikaia/nova-rating-field)

 [![](./docs/players-index.png)](./docs/players-index.png)
 [![](./docs/players-edit.png)](./docs/players-edit.png)

Installation
------------

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require nikaia/nova-rating-field
```

Next you can use the `Nikaia\Rating\Rating` field in your Nova resource.

Usage
-----

[](#usage)

```
public function fields(Request $request)
{
    return [
        // ...

        Rating::make('Rating')->min(0)->max(5)->increment(0.5)->hideFromIndex(),

        // Defining a custom style for the index page.
        Rating::make('Rating')->min(0)->max(5)->increment(0.5)->hideRating()
            ->withStyles([
                'star-size' => 15,
                'rounded-corners' => true,
            ])->onlyOnIndex()->sortable(),

        // ...

    ];
}
```

### Defining properties

[](#defining-properties)

```
public function fields(Request $request)
{
    Rating::make('Rating')

        // Miniumum rating (default: 0)
        ->min(0)

        // Maximum rating (default: 5)
        // This is how the component knows how many stars it should display.
        ->max(5)

        // Incremet (default: 1)
        // Can be float. The underlying eloquent colum must be defined as float in that case.
        // ie. 0.5 for half stars or 0.01 for fluid stars.
        ->increment(0.5)

        // Show rating value next to the stars
        ->hideRating()

}
```

### Customizing styles

[](#customizing-styles)

You can style the component using `withStyles` method. Options are passed to the the underlying [vue component style props](https://github.com/craigh411/vue-star-rating#style-props).

Default values are :

```
public function fields(Request $request)
{
    Rating::make('Rating')
        ->withStyles([
            'star-size' => 30,
            'active-color' => 'var(--primary)', // Primary nova theme color.
            'inactive-color' => '#d8d8d8',
            'border-color' => 'var(--60)',
            'border-width' => 0,
            'padding' => 10,
            'rounded-corners' => false,
            'inline' => false,
            'glow' => 0,
            'glow-color' => '#fff',
            'text-class' => 'inline-block text-80 h-9 pt-2',
        ]);
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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

Every ~195 days

Recently: every ~146 days

Total

6

Last Release

1819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db6694a3e838d346081d216f29dd7aeb037e67ea2123391f263e060a903ded2e?d=identicon)[semsphy](/maintainers/semsphy)

---

Top Contributors

[![nbourguig](https://avatars.githubusercontent.com/u/276832?v=4)](https://github.com/nbourguig "nbourguig (20 commits)")[![semsphy](https://avatars.githubusercontent.com/u/423396?v=4)](https://github.com/semsphy "semsphy (3 commits)")[![milewski](https://avatars.githubusercontent.com/u/2874967?v=4)](https://github.com/milewski "milewski (1 commits)")

---

Tags

laravelfieldnovaRating

### Embed Badge

![Health badge](/badges/allcaretravel-nova-rating-field/health.svg)

```
[![Health](https://phpackages.com/badges/allcaretravel-nova-rating-field/health.svg)](https://phpackages.com/packages/allcaretravel-nova-rating-field)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[nikaia/nova-rating-field

Add start rating field to Laravel Nova

42258.6k](/packages/nikaia-nova-rating-field)[timothyasp/nova-color-field

A Laravel Nova Color Picker field.

781.6M5](/packages/timothyasp-nova-color-field)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[stepanenko3/nova-json

Nova json field to spread a json column throughout multiple fields.

42249.7k](/packages/stepanenko3-nova-json)[optimistdigital/nova-notes-field

This Laravel Nova package adds a notes field to Nova's arsenal of fields.

52139.5k](/packages/optimistdigital-nova-notes-field)

PHPackages © 2026

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