nickfairchild / nova-at-a-glance-card
A Laravel Nova card.
Installs: 3 460
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 4
Open Issues: 16
Requires
- php: >=7.1.0
- dev-master
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v0.1.0
- 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/chownr-1.1.4
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/tar-2.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- 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/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/lodash.mergewith-4.6.2
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
This package is auto-updated.
Last update: 2024-10-26 21:14:12 UTC
README
This Nova card displays a count for all of your resources.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require nickfairchild/nova-at-a-glance-card
Next up, you must register the card with Nova. This is typically done in the cards
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvider.php // ... public function cards() { return [ // ... new \Nickfairchild\AtAGlance\AtAGlance, ]; }
Customize
If you do not want a specific resource to be displayed on the card you can pass through an array of the resource classes to exclude like so.
public function cards() { return [ // ... (new \Nickfairchild\AtAGlance\AtAGlance)->excludeResources([Pages::class]), ]; }
Bugs / Issues / Ideas
Please create an issue using the issue tracker or drop me an email.
License
The MIT License (MIT). Please see License File for more information.