Download the PHP
package gabrielesbaiz/nova-field-indicator without Composer
On this page you can find all versions of the php package
gabrielesbaiz/nova-field-indicator. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor gabrielesbaiz Package nova-field-indicator Short Description A colour-coded status indicator field for Laravel Nova, with enum-first configuration, shapes, icons, dark mode and index filtering. License
MIT Homepage https://github.com/gabrielesbaiz/nova-field-indicator
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Informations about the package nova-field-indicator
# NovaField Indicator
A colour-coded status indicator for Laravel Nova — a dot, ring, square or pill that
reads a value and shows what it means, configured from the enum your application
already has.
[](https://packagist.org/packages/gabrielesbaiz/nova-field-indicator)
[](composer.json)
[](composer.json)
[](https://packagist.org/packages/gabrielesbaiz/nova-field-indicator)
[](https://github.com/gabrielesbaiz/nova-field-indicator/stargazers)
[](https://github.com/sponsors/gabrielesbaiz)
### 📖 [Read the documentation →](https://gabrielesbaiz.github.io/nova-field-indicator/)
Every method, every config key, and a live palette page where picking a shape,
size and shade rewrites the PHP call as you click it.
> [!CAUTION]
> **Upgrading from 1.x?** Read [UPGRADE.md](UPGRADE.md) first. On Nova 5 the
> `success`, `danger`, `warning` and `info` colours rendered an **invisible**
> dot — they now appear, so columns that looked empty will fill with colour.
> Named colours also move from the Tailwind v1 palette to Tailwind 3.
> `php artisan nova-field-indicator:upgrade --dry-run` previews the rest.
> [!IMPORTANT]
> A ⭐ costs you nothing and helps other developers find this package.
> [Sponsoring](https://github.com/sponsors/gabrielesbaiz) keeps it compatible
> with every new Laravel and Nova release.
## What it does
Nova ships `Badge`, which is good at four hard-coded states. This is for the rest:
a status column whose colours are yours, whose states come from an enum, and which
still reads correctly in dark mode and to a screen reader.
- **Enum-first.** `->enum(Status::class)` derives labels, colours and icons from one
enum. If the attribute is already enum-cast and the enum implements the contracts,
the field needs no configuration at all.
- **The whole palette.** Any Tailwind family and shade, light/dark pairs, or literal
CSS colours — resolved against Nova's own `--colors-*` variables, so re-theming
Nova re-themes every indicator.
- **Four shapes and three sizes**, plus optional heroicons that cost nothing extra
in the bundle because they are Nova's own.
- **Continuous values** via `->ranges()`, for scores, percentages and stock levels.
- **An index filter** with `->filterable()`, built from your states or your enum.
- **Accessible by default** — colour is never the only channel, and a label-less
mark is still a named graphic.
- **Resolved on the server**, so an index ships one small object per row instead of
your entire configuration repeated per cell.
- **1.07 kB of JavaScript** gzipped, with no runtime dependency of its own.
## Requirements
- PHP 8.3+
- Laravel 12 or 13
- Nova 5.11+ — Nova 6 is explicitly conflicted; `configureDefaults()`, the
hook the field applies its display-only defaults through, arrived in 5.11
## Installation
Optionally publish the config and translations:
## Quick start
Everything else is on the [documentation site](https://gabrielesbaiz.github.io/nova-field-indicator/).
## Testing
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
Please review [our security policy](SECURITY.md) on how to report security
vulnerabilities.
## Credits
- [Oleg Khalin](https://github.com/oleghalin) — the original
[nova4-indicator-field](https://github.com/oleghalin/nova4-indicator-field)
- [Gabriele Sbaiz](https://github.com/gabrielesbaiz)
- [All Contributors](../../contributors)
## Support this package
If it saves you time, consider [sponsoring](https://github.com/sponsors/gabrielesbaiz).
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
All versions of nova-field-indicator with dependencies
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package gabrielesbaiz/nova-field-indicator contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.