nova-kit/nova-field-mixins
Laravel Nova field mixins for composing reusable field behavior. Extend and customize Nova fields with less boilerplate, keep field logic consistent, and simplify shared implementations across resources, dashboards, and admin panels. Ideal for cleaner, maintainable Nova customizations.
This release (v3.0.1) is a compatibility patch: it adds support for Laravel Framework 12. No new APIs are introduced, so the primary reason to move to this version is to run the package on a Laravel 12 application.
composer.json for illuminate/* and php requirements. Laravel 12 requires PHP 8.2+, so ensure your app meets that before updating.composer require <vendor>/<package>:^3.0
# or, if already installed
composer update <vendor>/<package> --with-dependencies
bootstrap/providers.php (Laravel 11+/12 style) rather than the legacy config/app.php.php artisan vendor:publish --provider="<Vendor>\<Package>\<Package>ServiceProvider" and review the published config before changing defaults.orchestra/testbench) to validate the integration before wiring it into application code.Where to look first: the package README, composer.json platform constraints, the changelog, and the service provider's register()/boot() methods to understand what is bound into the container.
"<vendor>/<package>": "^3.0" in composer.json and let the lockfile resolve. Avoid hard-pinning 3.0.1 unless you need reproducibility across environments.app()->make()) rather than static calls, so you can swap or mock it in tests..env and reference them from the config.orchestra/testbench with a Laravel 12 test case to exercise it under the same framework version.php artisan config:clear and php artisan cache:clear, then promote.3.0.1 only widens framework compatibility, but Laravel 12 itself brings changes (PHP 8.2 minimum, updated skeleton conventions, deprecated APIs). Read the Laravel 12 upgrade guide alongside this release.composer update fails, it is almost always a transitive dependency pinning illuminate/* to ^10 or ^11. Inspect with composer why-not <vendor>/<package> 3.0.1 before forcing anything.3.0.1 — the notes here only mention Laravel 12, so re-check the full release history if you are jumping from 2.x.php artisan optimize:clear; stale cached config is a common cause of "works locally, fails in CI" issues with packages.bootstrap/cache/packages.php and run composer dump-autoload followed by php artisan package:discover.How can I help you explore Laravel packages today?