idez / nova-percent-field
A Laravel Nova percent field.
Installs: 26 944
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0|^8.1
This package is auto-updated.
Last update: 2025-03-01 00:30:37 UTC
README
About
This is a Laravel Nova 4 custom field for percent values.
Requirements
php: ^7.4|^8.0|^8.1
Installation
To install the custom field run the following command in your Laravel Nova project:
composer require idez/nova-percent-field
Usage
Simply add this field in your Nova resource.
use Idez\NovaPercentField\Percent; use Laravel\Nova\Http\Requests\NovaRequest; class CustomResource extends Resource { public function fields(NovaRequest $request): array { return [ Percent::make('Label', 'field'), ]; } }
Contributing
Contributions are welcome, explain the issue/feature that you want to solve/add and back your code up with tests. Happy coding!
License
This package was originally developed by https://github.com/NikolaySav/nova-percent-field however they have abandoned the package. The MIT License (MIT). Please see License File for more information.