bambamboole / nova-settings
A Laravel Nova tool.
v0.2
2019-07-06 14:38 UTC
Requires
- php: >=7.1.0
- dev-master
- v0.2
- v0.1
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/acorn-6.4.1
This package is auto-updated.
Last update: 2024-11-04 07:43:49 UTC
README
Add Settings via code and edit with Nova.
Requirements
- Laravel Nova
Installation
composer require bambamboole/nova-settings
Usage
After installing the tool you need to add it to your nova tools.
public function tools() { return [ //... new \Bambamboole\NovaSettings\NovaSettings(), //... ]; }
Now you can add Sections and Fields in your Service Providers boot
method.
public function boot() { $settingsManager = $this->app->get(NovaSettingsManager::class); $settingsManager->addSection('Company', 'Details about the company'); $settingsManager->addField('Company Name', 'text', 'company', 'the full company name'); }
Current possible types are text
and time
.
Roadmap
- Native Nova Fields
- Validation
- Scopes