{"id":19700290,"url":"https://github.com/appstract/nova-horizon","last_synced_at":"2025-07-05T03:07:10.125Z","repository":{"id":40461459,"uuid":"245185105","full_name":"appstract/nova-horizon","owner":"appstract","description":"Horizon statistics in Nova","archived":false,"fork":false,"pushed_at":"2024-03-28T03:45:46.000Z","size":3620,"stargazers_count":78,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-19T18:07:09.976Z","etag":null,"topics":["horizon","laravel","nova"],"latest_commit_sha":null,"homepage":"","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/appstract.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-05T14:30:57.000Z","updated_at":"2024-11-20T08:13:06.000Z","dependencies_parsed_at":"2024-12-16T18:32:21.761Z","dependency_job_id":"a1dcbc74-6773-4c32-a548-216da4a28a4f","html_url":"https://github.com/appstract/nova-horizon","commit_stats":{"total_commits":65,"total_committers":7,"mean_commits":9.285714285714286,"dds":0.4307692307692308,"last_synced_commit":"8858459812efee7b1256b9089bf9bfdcb35a4196"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/appstract/nova-horizon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Fnova-horizon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Fnova-horizon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Fnova-horizon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Fnova-horizon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appstract","download_url":"https://codeload.github.com/appstract/nova-horizon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Fnova-horizon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261273551,"owners_count":23133818,"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":["horizon","laravel","nova"],"created_at":"2024-11-11T21:05:06.863Z","updated_at":"2025-07-05T03:07:10.106Z","avatar_url":"https://github.com/appstract.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Horizon\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/appstract/nova-horizon.svg?style=flat-square)](https://packagist.org/packages/appstract/nova-horizon)\n[![Total Downloads](https://img.shields.io/packagist/dt/appstract/nova-horizon.svg?style=flat-square)](https://packagist.org/packages/appstract/nova-horizon)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n\nAdd Horizon statistics to your Nova dashboard.\n\n![dashboard](https://appstract.github.io/nova-horizon/docs/dashboard.png)\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require appstract/nova-horizon\n```\n\n## Usage\n\nThere are two ways to use this package. One is to enable the Horizon dashboard or tool in your application's `NovaServiceProvider`. This will add a new dashboard to Nova, shown in the screenshot above.\n\n```php\nclass NovaServiceProvider extends NovaApplicationServiceProvider\n{\n    protected function dashboards()\n    {\n        return [\n            new \\Appstract\\NovaHorizon\\Dashboard,\n        ];\n    }\n\n    protected function tools()\n    {\n        return [\n            new \\Appstract\\NovaHorizon\\Tool,\n        ];\n    }\n}\n```\n\nSecond way is by adding cards to the main dashboard or your own dashboard(s).\n\n```php\nclass Main extends Dashboard\n{\n    public function cards()\n    {\n        return [\n            // Like the dashboard\n            new \\Appstract\\NovaHorizon\\Cards\\Stats,\n            new \\Appstract\\NovaHorizon\\Cards\\Workload,\n            new \\Appstract\\NovaHorizon\\Cards\\PendingJobs,\n            new \\Appstract\\NovaHorizon\\Cards\\FailedJobs,\n            new \\Appstract\\NovaHorizon\\Cards\\CompletedJobs,\n\n            // Stats as seperate cards\n            new \\Appstract\\NovaHorizon\\Cards\\JobsPerMinute,\n            new \\Appstract\\NovaHorizon\\Cards\\RecentJobsCount,\n            new \\Appstract\\NovaHorizon\\Cards\\FailedJobsCount,\n            new \\Appstract\\NovaHorizon\\Cards\\Status,\n            new \\Appstract\\NovaHorizon\\Cards\\TotalProcesses,\n            new \\Appstract\\NovaHorizon\\Cards\\MaxWaitTime,\n            new \\Appstract\\NovaHorizon\\Cards\\MaxRuntime,\n            new \\Appstract\\NovaHorizon\\Cards\\MaxThroughput,\n        ];\n    }\n}\n```\n\n## Contributing\n\nContributions are welcome, [thanks to y'all](https://github.com/appstract/nova-horizon/graphs/contributors) :)\n\n## About Appstract\n\nAppstract is a small team from The Netherlands. We create (open source) tools for Web Developers and write about related subjects on [Medium](https://medium.com/appstract). You can [follow us on Twitter](https://twitter.com/appstractnl).\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Fnova-horizon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappstract%2Fnova-horizon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Fnova-horizon/lists"}