yuriy-martini / laravel-nova-fields
There is no license information available for the latest version (v0.1.0) of this package.
v0.1.0
2023-10-17 15:40 UTC
Requires
- php: ^8.0
- laravel/nova: ^4
Requires (Dev)
- orchestra/testbench: >=6.0
- phpstan/phpstan: >=1.0
- squizlabs/php_codesniffer: >=3.1
This package is not auto-updated.
Last update: 2025-04-02 21:16:45 UTC
README
Installation
composer require yuriy-martini/laravel-nova-fields
Usage
app/Nova/Fields/Text.php
:
<?php namespace App\Nova\Fields; class Text extends \Laravel\Nova\Fields\Text { use \YuriyMartini\Laravel\Nova\Fields\Concerns\IsRequired; }
app/Nova/User.php
:
<?php namespace App\Nova; class User extends Resource { public function fields(NovaRequest $request): array { return [ \App\Nova\Fields\Text::make('Name'), ]; } }
Changelog
Please see Changelog File for more information on what has changed recently.
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.