Looking to hire Laravel developers? Try LaraJobs

laravel-nova-fields maintained by yuriy-martini

Last update
2023/10/17 17:40 (dev-master)
Links
Downloads
654

Comments
comments powered by Disqus

Nova Package Name

Latest Version MIT License

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.