A model-settings field for Laravel Nova
read-rate/nova-model-settings-field is a Laravel package for a model-settings field for laravel nova.
It currently has 1 GitHub stars and 60 downloads on Packagist (latest version 1.0.2).
Install it with composer require read-rate/nova-model-settings-field.
Discover more Laravel packages by read-rate
or browse all Laravel packages to compare alternatives.
Last updated
This package contains a Nova field to add settings to your models using the laravel-model-settings.

This Nova field does not support v4.0.0 of laravel-model-settings yet.
You can install the package in to a Laravel app that uses Nova via composer:
composer require read-rate/nova-model-settings-field
To add settings to a model you first need to make sure that one of the HasSettingsField, HasSettingsTable, HasSettingsTrait
trait is present.
class Book extends Model
{
use Glorand\Model\Settings\Traits\HasSettingsField;
...
}
Next you can add the new model-settings field to your Nova resource :
namespace App\Nova;
use Readandrate\ModelSettingsField\ModelSettingsField;
class Book extends Resource
{
// ...
public function fields(Request $request)
{
return [
// ...
ModelSettingsField::make('Model Settings'),
// ...
];
}
}
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.