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 1mo ago

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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

1478d 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.

781.6M5](/packages/timothyasp-nova-color-field)[alexwenzel/nova-dependency-container

A Laravel Nova 4 form container for grouping fields that depend on other field values.

461.0M2](/packages/alexwenzel-nova-dependency-container)[simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

52391.9k2](/packages/simplesquid-nova-enum-field)[outhebox/nova-hidden-field

A Laravel Nova Hidden field.

33562.2k1](/packages/outhebox-nova-hidden-field)[sietse85/nova-button

(Nova 4+) A Laravel Nova package for adding buttons to your resources.

37347.3k](/packages/sietse85-nova-button)[inspheric/nova-defaultable

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

51174.8k1](/packages/inspheric-nova-defaultable)

PHPackages © 2026

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