Download the PHP package normanhuth/nova-valuestore-settings without Composer
On this page you can find all versions of the php package normanhuth/nova-valuestore-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download normanhuth/nova-valuestore-settings
More information about normanhuth/nova-valuestore-settings
Files in normanhuth/nova-valuestore-settings
Package nova-valuestore-settings
Short Description A Laravel Nova tool for editing custom settings using native Nova fields.
License MIT
Informations about the package nova-valuestore-settings
Nova Valuestore Settings
This Laravel Nova package allow you to edit a config file (JSON) by using valuestore
Requirements
"laravel/nova": "^2.0.11 || ^3.0",
"spatie/valuestore": "^1.0"
Features
- Settings fields management in code
- UI for editing settings
- Rule validation support
- Supports nova-translatable w/ rule validation
Screenshot
Installation
Install the package in a Laravel Nova project via Composer:
Register the tool with Nova in the tools()
method of the NovaServiceProvider
:
Usage
Registering fields
Define the fields in your NovaServiceProvider
's boot()
function by calling NovaValuestore::setSettingsFields()
.
Configuration
The config file can be published using the following command:
Config options:
Password field
Alternative to opanegro/field-nova-password-show-hide
Install
Usage:
#
Localization
The translation file(s) can be published by using the following command:
You can add your translations to resources/lang/vendor/nova-settings/
by creating a new translations file with the locale name (ie et.json
) and copying the JSON from the existing en.json
.
Credits
This Package is a fork of optimistdigital/nova-settings
License
Nova Valuestore Settings and Nova Settings is open-sourced software licensed under the MIT license.