Download the PHP package andreasgj/nova-settings-tool without Composer

On this page you can find all versions of the php package andreasgj/nova-settings-tool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-settings-tool

Laravel Nova tool to manage app settings

Latest Version on Packagist Total Downloads Build StyleCI 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.

Installation

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

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

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

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 panels array is a panel which contains Nova’s fields. Panels can also shown as a sidebar instead, so if you have a lot of settings, then you don't need to scroll through it all.

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

You can use all the Nova fields which isn't a relationship field except:

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

Get the stored configs?

We have now added a simple way to get the configs you need. Here is the following global functions you can use:

Roadmap

The following features are planned or in development:


LICENSE


All versions of nova-settings-tool with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
laravel/nova Version *
spatie/valuestore Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andreasgj/nova-settings-tool contains the following files

Loading the files please wait ....