All Projects → beyondcode → nova-custom-dashboard-card

beyondcode / nova-custom-dashboard-card

Licence: MIT license
A Laravel Nova dashboard card that allows you to build custom dashboards.

Programming Languages

Vue
7211 projects
PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to nova-custom-dashboard-card

nova-algolia-card
A Laravel Nova card for Algolia
Stars: ✭ 22 (-73.81%)
Mutual labels:  card, nova
Nova Laravel Update Card
Check if you're running the latest Laravel version right from your Nova dashboard.
Stars: ✭ 34 (-59.52%)
Mutual labels:  card, nova
nova-opening-hours-field
Laravel Nova custom field for https://github.com/spatie/opening-hours
Stars: ✭ 33 (-60.71%)
Mutual labels:  nova
repo-card
😎 showcase repositories on your website 🤘!
Stars: ✭ 141 (+67.86%)
Mutual labels:  card
floor3d-card
Your Home Digital Twin: aka floor3d-card. Visualize Home Assistant state and perform actions using objects in a 3D home model based on Three.js.
Stars: ✭ 237 (+182.14%)
Mutual labels:  card
nova-links
Add links to your nova sidebar
Stars: ✭ 32 (-61.9%)
Mutual labels:  nova
PullSeparateRecyclerView
No description or website provided.
Stars: ✭ 29 (-65.48%)
Mutual labels:  card
nova-horizon
Horizon statistics in Nova
Stars: ✭ 70 (-16.67%)
Mutual labels:  nova
react-native-imaged-card-view
Rising Imaged Card View with Awesome Shadows and Fully Customizable Library for React Native
Stars: ✭ 16 (-80.95%)
Mutual labels:  card
nova-tabs
Another Laravel Nova Tabs Package
Stars: ✭ 60 (-28.57%)
Mutual labels:  nova
nova-mailman
Conveniently route all emails to a local mailbox.
Stars: ✭ 47 (-44.05%)
Mutual labels:  nova
uptime-card
Minimalistic uptime card for Home Assistant Lovelace UI
Stars: ✭ 152 (+80.95%)
Mutual labels:  card
nova-system-resources
Display the system usage in Laravel-Nova
Stars: ✭ 30 (-64.29%)
Mutual labels:  nova
blueprint-nova-addon
A Blueprint addon which generates Nova resources
Stars: ✭ 61 (-27.38%)
Mutual labels:  nova
nova-froala-editor
Froala editor input for laravel nova
Stars: ✭ 18 (-78.57%)
Mutual labels:  nova
laravel-nova-order-nestedset-field
Laravel Nova field that make your resources orderable
Stars: ✭ 21 (-75%)
Mutual labels:  nova
React-Native-Interactive-Card
Interactive Card Component for React Native
Stars: ✭ 29 (-65.48%)
Mutual labels:  card
Profile-Card
Profile Card
Stars: ✭ 13 (-84.52%)
Mutual labels:  card
mtgsqlive
MTGJSON build scripts to generate alternative data formats
Stars: ✭ 40 (-52.38%)
Mutual labels:  card
laravel-nova-nested-form
This package allows you to include your nested relationships' forms into a parent form.
Stars: ✭ 225 (+167.86%)
Mutual labels:  nova

Nova Custom Dashboard Card

Latest Version on Packagist Total Downloads

This package lets you create customizable dashboards for every Nova user.

screenshot

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require beyondcode/nova-custom-dashboard-card

Next up, you must register the card with Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvder.php

// ...
public function cards()
{
    return [
        // ...
        new \Beyondcode\CustomDashboardCard\CustomDashboard,
    ];
}

Define available cards

Similar to Nova itself, you can define all cards that should be available for selection in the Add Card modal.

All these cards follow the same authorization rules as any other Nova card - so you do not need to worry about this.

You can register them in your NovaServiceProvider

// in app/Providers/NovaServiceProvder.php

use Beyondcode\CustomDashboardCard\NovaCustomDashboard;

public function boot()
{
    parent::boot();

    NovaCustomDashboard::cards([
        new UsersPerDay,
        new TotalUsers,
        new TotalAwesomeUsers,
        // ... all cards you want to be available 
    ]);
}

Define custom card names

If you want to define a custom card name, that will be shown in the modal, pass it to the card as a card-name meta attribute, like this:

NovaCustomDashboard::cards([
    (new LaravelUpdateCard)->withMeta([
        'card-name' => 'Laravel Updates Available'
    ]),
]);

Usage

Visit your Nova dashboard and click the Add Card button to add new cards to the customized dashboard. The custom dashboard will be stored in localstorage for every user.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

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].