PHPackages                             upline/fill-button - 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. upline/fill-button

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

upline/fill-button
==================

Button to fill other fields in Laravel Nova resource form

1.0.1(4y ago)071MITPHPPHP ^7.4|^8

Since Apr 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/upline-studio/fill-button)[ Packagist](https://packagist.org/packages/upline/fill-button)[ RSS](/packages/upline-fill-button/feed)WikiDiscussions main Synced today

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

Fill button
===========

[](#fill-button)

Button for filling some form fields using values of other fields in laravel nova resource forms.

Example
-------

[](#example)

```
use Upline\FillButton;

FillButton::make('Fill total fields', 'fill-prices')
    ->setFillFunction(function ($data) {
        return [
            'total' => $data['price'] + $data['quantity'],
            'totalDiscount' => $data['discount'] + $data['quantity'],
        ];
    })
    ->setSourceFields(['price', 'discount', 'quantity'])
```

### Explanation

[](#explanation)

`->setSourceFields($fields)` method sets fields that will be watched for changes, and will be sent on the button click.

`->setFillFunction(...)` method sets a function that will be called to calculate values to fill the fields.

### To be done

[](#to-be-done)

- Add image/video of component to readme
- Test on nova 4
- Add tests

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

1527d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2049573?v=4)[vail](/maintainers/vail)[@Vail](https://github.com/Vail)

---

Top Contributors

[![vaiil](https://avatars.githubusercontent.com/u/3755615?v=4)](https://github.com/vaiil "vaiil (2 commits)")

---

Tags

laravelfieldnova

### Embed Badge

![Health badge](/badges/upline-fill-button/health.svg)

```
[![Health](https://phpackages.com/badges/upline-fill-button/health.svg)](https://phpackages.com/packages/upline-fill-button)
```

###  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)[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)
