All Projects → bakerkretzmar → Nova Settings Tool

bakerkretzmar / Nova Settings Tool

Licence: mit
Laravel Nova tool to view and edit application settings.

Projects that are alternatives of or similar to Nova Settings Tool

Laravel Nova Permission
A Laravel Nova tool for the Spatie Permission package
Stars: ✭ 59 (-54.96%)
Mutual labels:  laravel, nova
Eloquent Settings
Eloquent Settings allows you to bind key-value pairs to any Laravel Eloquent model. It supports even casting for boolean, float or integer types.
Stars: ✭ 71 (-45.8%)
Mutual labels:  settings, laravel
Nova Custom Email Sender
A Laravel Nova tool that sends ad-hoc email messages from the dashboard.
Stars: ✭ 62 (-52.67%)
Mutual labels:  laravel, nova
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (-65.65%)
Mutual labels:  settings, laravel
Nova Indicator Field
A colour-coded indicator field for Laravel Nova
Stars: ✭ 108 (-17.56%)
Mutual labels:  laravel, nova
Nova Mega Filter
Allows you to control the columns and filters shown on any Nova resource index
Stars: ✭ 49 (-62.6%)
Mutual labels:  laravel, nova
Nova Stripe Theme
A Laravel Nova theme closely resembling Stripe.
Stars: ✭ 71 (-45.8%)
Mutual labels:  laravel, nova
Laravel Settings
Store strongly typed application settings
Stars: ✭ 345 (+163.36%)
Mutual labels:  settings, laravel
Collapsible Resource Manager
A custom sidebar menu with collapsible groups
Stars: ✭ 100 (-23.66%)
Mutual labels:  laravel, nova
Awesome Nova
🎉 A curated list of awesome things related to Laravel Nova
Stars: ✭ 92 (-29.77%)
Mutual labels:  laravel, nova
Nova Time Field
Laravel Nova Time Field
Stars: ✭ 45 (-65.65%)
Mutual labels:  laravel, nova
Nova Translatable
Making Nova fields translatable
Stars: ✭ 119 (-9.16%)
Mutual labels:  laravel, nova
Nova Laravel Update Card
Check if you're running the latest Laravel version right from your Nova dashboard.
Stars: ✭ 34 (-74.05%)
Mutual labels:  laravel, nova
Nova Route Viewer
Route viewer tool for Laravel Nova
Stars: ✭ 54 (-58.78%)
Mutual labels:  laravel, nova
Laravel Model Settings
Model Settings for your Laravel app
Stars: ✭ 409 (+212.21%)
Mutual labels:  settings, laravel
Nova Advanced Image Field
🌄📐 A Laravel Nova advanced image field with cropping and resizing using Cropper.js and Intervention Image
Stars: ✭ 67 (-48.85%)
Mutual labels:  laravel, nova
Nova Permission
A Laravel Nova tool for Spatie's laravel-permission library
Stars: ✭ 294 (+124.43%)
Mutual labels:  laravel, nova
Scout Extended
Scout Extended: The Full Power of Algolia in Laravel
Stars: ✭ 330 (+151.91%)
Mutual labels:  laravel, nova
Laravel Property Bag
Add settings to any Laravel model.
Stars: ✭ 78 (-40.46%)
Mutual labels:  settings, laravel
Nova Tail Tool
A Laravel Nova tool to display the application log
Stars: ✭ 110 (-16.03%)
Mutual labels:  laravel, nova

Laravel Nova tool to manage app settings

Latest Version on Packagist Total Downloads Build License: MIT

Store and edit simple app-wide settings right in Nova. Settings are stored as JSON using spatie/valuestore, making them really easy to pull in and use everywhere else in your app.

Settings Tool screenshot

Installation

Install the package via Composer in any Laravel app using Nova:

composer require bakerkretzmar/nova-settings-tool

Publish the default configuration file to config/nova-settings-tool.php:

php artisan vendor:publish --tag="nova-settings-tool"

Register the tool with Nova in the tools method of your NovaServiceProvider:

// in app/Providers/NovaServiceProvider.php

use Bakerkretzmar\NovaSettingsTool\SettingsTool;

    // ...

    public function tools()
    {
        return [
            new SettingsTool,
        ];
    }

Usage

Settings are declared in a nova-settings-tool.php config file. This file specifies where settings are stored, what the tool’s title is in Nova’s sidebar, the layout of the settings page, and metadata about the settings themselves.

A default config file with some helpful examples is included as a starting point:

Each item in the settings array is rendered as an input with a label and help text, similar to one of Nova’s fields. Settings can also be grouped into panels, to separate them visually.

The settings’ actual values are stored as JSON at the location specified in the config file—storage/app/settings.json by default.

There are currently six available setting types:

  • text: Single-line text input
  • textarea: Multi-line text input
  • toggle: Boolean switch
  • code: CodeMirror text editor
  • number: Number input
  • select: Single-select dropdown

All strings in this package, and any you pass to it, can easily be translated using Laravel’s built-in localization features.

This tool also fires an event any time any settings are changed, with all the old and new settings attached.

Roadmap

The following features are planned or in development:

  • color setting type
  • date setting type
  • file setting type
  • setting validation

CHANGELOGCONTRIBUTINGLICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].