{"id":13829065,"url":"https://github.com/beyondcode/nova-custom-dashboard-card","last_synced_at":"2025-07-09T08:31:08.809Z","repository":{"id":66084763,"uuid":"145722960","full_name":"beyondcode/nova-custom-dashboard-card","owner":"beyondcode","description":"A Laravel Nova dashboard card that allows you to build custom dashboards.","archived":true,"fork":false,"pushed_at":"2018-12-18T10:22:49.000Z","size":307,"stargazers_count":87,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-03T19:52:43.243Z","etag":null,"topics":["card","laravel","nova"],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beyondcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-22T14:46:28.000Z","updated_at":"2024-06-18T13:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"30ef9c93-6f61-40a2-8d5a-ee35cdf6ec9b","html_url":"https://github.com/beyondcode/nova-custom-dashboard-card","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/beyondcode/nova-custom-dashboard-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondcode%2Fnova-custom-dashboard-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondcode%2Fnova-custom-dashboard-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondcode%2Fnova-custom-dashboard-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondcode%2Fnova-custom-dashboard-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondcode","download_url":"https://codeload.github.com/beyondcode/nova-custom-dashboard-card/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondcode%2Fnova-custom-dashboard-card/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264421852,"owners_count":23605597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["card","laravel","nova"],"created_at":"2024-08-04T09:03:31.470Z","updated_at":"2025-07-09T08:31:08.469Z","avatar_url":"https://github.com/beyondcode.png","language":"Vue","readme":"# Nova Custom Dashboard Card\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/nova-custom-dashboard-card.svg?style=flat-square)](https://packagist.org/packages/beyondcode/nova-custom-dashboard-card)\n[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/nova-custom-dashboard-card.svg?style=flat-square)](https://packagist.org/packages/beyondcode/nova-custom-dashboard-card)\n\nThis package lets you create customizable dashboards for every Nova user.\n\n![screenshot](https://beyondco.de/github/nova-custom-dashboard-card/demo.gif)\n\n## Installation\n\nYou can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:\n\n```bash\ncomposer require beyondcode/nova-custom-dashboard-card\n```\n\nNext up, you must register the card with Nova. This is typically done in the `cards` method of the `NovaServiceProvider`.\n\n```php\n// in app/Providers/NovaServiceProvder.php\n\n// ...\npublic function cards()\n{\n    return [\n        // ...\n        new \\Beyondcode\\CustomDashboardCard\\CustomDashboard,\n    ];\n}\n```\n\n## Define available cards\n\nSimilar to Nova itself, you can define all cards that should be available for selection in the `Add Card` modal.\n\nAll these cards follow the same authorization rules as any other Nova card - so you do not need to worry about this.\n\nYou can register them in your `NovaServiceProvider`\n\n```php\n// in app/Providers/NovaServiceProvder.php\n\nuse Beyondcode\\CustomDashboardCard\\NovaCustomDashboard;\n\npublic function boot()\n{\n    parent::boot();\n\n    NovaCustomDashboard::cards([\n        new UsersPerDay,\n        new TotalUsers,\n        new TotalAwesomeUsers,\n        // ... all cards you want to be available \n    ]);\n}\n\n```\n\n## Define custom card names\n\nIf 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:\n\n```php\nNovaCustomDashboard::cards([\n    (new LaravelUpdateCard)-\u003ewithMeta([\n        'card-name' =\u003e 'Laravel Updates Available'\n    ]),\n]);\n```\n\n## Usage\n\nVisit 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. \n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.\n\n## Credits\n\n- [Marcel Pociot](https://github.com/mpociot)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":[],"categories":["Vue","Packages"],"sub_categories":["Cards"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondcode%2Fnova-custom-dashboard-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondcode%2Fnova-custom-dashboard-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondcode%2Fnova-custom-dashboard-card/lists"}