PHPackages                             youbar/nova-difference - 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. youbar/nova-difference

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

youbar/nova-difference
======================

A Laravel Nova field to display the difference between to values

1.0.0(2y ago)2211MITVuePHP ^7.3|^8.0

Since Dec 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/YouneselBarnoussi/nova-difference)[ Packagist](https://packagist.org/packages/youbar/nova-difference)[ RSS](/packages/youbar-nova-difference/feed)WikiDiscussions develop Synced yesterday

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

Nova Difference
===============

[](#nova-difference)

[![Latest Version on Packagist](https://camo.githubusercontent.com/70d6df31e0d93e3dbd01fd18f679c583e5e90baf24df0d18bb052fcf260b78d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f756261722f6e6f76612d646966666572656e6365)](https://packagist.org/packages/youbar/nova-difference)[![Total Downloads](https://camo.githubusercontent.com/21e36abe7712368c06db601baaa2bbff872de5465df7f94b0a2c4f8ae15af4b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796f756261722f6e6f76612d646966666572656e6365)](https://packagist.org/packages/youbar/nova-difference)[![License](https://camo.githubusercontent.com/24eac4de0e3dd7d9a66aa182fc1856dd8dd1ef873438fbf4dee453893d1e15b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f796f756261722f6e6f76612d646966666572656e6365)](https://github.com/YouneselBarnoussi/nova-difference/blob/develop/LICENSE)

A Laravel Nova field to display the difference between to values. Especially useful with the use of [Laravel Auditing](https://github.com/owen-it/laravel-auditing)

Installation
============

[](#installation)

You can install the package via composer:

```
composer require youbar/nova-difference

```

Usage
-----

[](#usage)

Basic demo showing the power of this field:

```
use Youbar\Difference\Difference;

class ExampleNovaResource extends Resource {

    public function fields(Request $request)
    {
        return [
            Difference::make('Difference', 'old_values', 'new_values'),
        ];
    }

}
```

Demo
----

[](#demo)

[![Index Field](https://github.com/YouneselBarnoussi/nova-difference/raw/develop/assets/index.png)](https://github.com/YouneselBarnoussi/nova-difference/blob/develop/assets/index.png)[![Index Field](https://github.com/YouneselBarnoussi/nova-difference/raw/develop/assets/detail.png)](https://github.com/YouneselBarnoussi/nova-difference/blob/develop/assets/detail.png)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://raw.githubusercontent.com/YouneselBarnoussi/nova-difference/develop/LICENSE) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

920d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16510310?v=4)[Younes el Barnoussi](/maintainers/YouneselBarnoussi)[@YouneselBarnoussi](https://github.com/YouneselBarnoussi)

---

Top Contributors

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

---

Tags

laravelpackagefieldnovadifference

### Embed Badge

![Health badge](/badges/youbar-nova-difference/health.svg)

```
[![Health](https://phpackages.com/badges/youbar-nova-difference/health.svg)](https://phpackages.com/packages/youbar-nova-difference)
```

###  Alternatives

[timothyasp/nova-color-field

A Laravel Nova Color Picker field.

771.7M6](/packages/timothyasp-nova-color-field)[inspheric/nova-defaultable

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

52178.7k1](/packages/inspheric-nova-defaultable)[optimistdigital/nova-notes-field

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

52145.0k](/packages/optimistdigital-nova-notes-field)[outl1ne/nova-color-field

A Laravel Nova Color Picker field.

26263.8k](/packages/outl1ne-nova-color-field)[pdmfc/nova-info-card

A Laravel Nova info card.

15103.8k2](/packages/pdmfc-nova-info-card)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1198.4k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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