PHPackages                             nsavinov/nova-percent-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nsavinov/nova-percent-field

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

nsavinov/nova-percent-field
===========================

A Laravel Nova field.

v1.0.1(7y ago)21276.3k—9.8%6[1 issues](https://github.com/NikolaySav/nova-percent-field/issues)[2 PRs](https://github.com/NikolaySav/nova-percent-field/pulls)MITPHPPHP &gt;=7.1.0

Since Sep 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/NikolaySav/nova-percent-field)[ Packagist](https://packagist.org/packages/nsavinov/nova-percent-field)[ RSS](/packages/nsavinov-nova-percent-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Percent field for Laravel Nova
==============================

[](#percent-field-for-laravel-nova)

Laravel Nova field for displaying percents

Usually percents are stored in the database in a decimal form (e.g. 0.1615 which equals to 16.15%). In order to simplify formatting one can use this package.

### 1. Index view

[](#1-index-view)

[![screenshot 1](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/index.png)](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/index.png)

### 2. Detailed view

[](#2-detailed-view)

[![screenshot 1](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/detailed.png)](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/detailed.png)

### 3. Form view

[](#3-form-view)

[![screenshot 1](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/form.png)](https://raw.githubusercontent.com/NikolaySav/nova-percent-field/master/docs/form.png)

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

[](#installation)

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

```
composer require nsavinov/nova-percent-field
```

Usage
-----

[](#usage)

Inside the resource:

```
use Nsavinov\NovaPercentField\Percent;

public function fields(Request $request)
{
    return [
        // ...
                    Percent::make('Rate')

                        // possible options

                        ->storedInDecimal(true) // true by default (converts 0.15 to 15.00)
                        ->precision(2) // digits after dot

                        ->storedInDecimal(false) // for displaying raw value from database

                        ->displayPercentSign(true) // true by default
    ];
}
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community10

Small or concentrated contributor base

Maturity58

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

Every ~0 days

Total

2

Last Release

2791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76178aae6ea8fa2f623515ac3c940035afed552a0746a023b5456a70715972df?d=identicon)[nsavinov](/maintainers/nsavinov)

---

Top Contributors

[![NikolaySav](https://avatars.githubusercontent.com/u/13363510?v=4)](https://github.com/NikolaySav "NikolaySav (14 commits)")

---

Tags

fieldlaravelnovapercentvuelaravelnova

### Embed Badge

![Health badge](/badges/nsavinov-nova-percent-field/health.svg)

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

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

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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