{"id":13829069,"url":"https://github.com/sbine/nova-route-viewer","last_synced_at":"2026-04-01T18:58:48.303Z","repository":{"id":32912907,"uuid":"145942893","full_name":"sbine/nova-route-viewer","owner":"sbine","description":"Route viewer tool for Laravel Nova","archived":false,"fork":false,"pushed_at":"2026-03-25T12:33:43.000Z","size":185,"stargazers_count":57,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-26T15:37:29.943Z","etag":null,"topics":["hacktoberfest","laravel","laravel-nova","nova","routes"],"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/sbine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-24T04:36:45.000Z","updated_at":"2026-03-25T12:32:59.000Z","dependencies_parsed_at":"2024-11-20T10:30:10.292Z","dependency_job_id":"ee483ef0-3b78-4271-a730-33828f2f803d","html_url":"https://github.com/sbine/nova-route-viewer","commit_stats":{"total_commits":35,"total_committers":8,"mean_commits":4.375,"dds":0.2857142857142857,"last_synced_commit":"21c758ba1a734124c35390e051e46eb1edc2eff4"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/sbine/nova-route-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbine%2Fnova-route-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbine%2Fnova-route-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbine%2Fnova-route-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbine%2Fnova-route-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbine","download_url":"https://codeload.github.com/sbine/nova-route-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbine%2Fnova-route-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hacktoberfest","laravel","laravel-nova","nova","routes"],"created_at":"2024-08-04T09:03:31.632Z","updated_at":"2026-04-01T18:58:48.266Z","avatar_url":"https://github.com/sbine.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# Laravel Nova Route Viewer\n\nThis [Nova](https://nova.laravel.com/) tool adds a route viewer section to the Nova sidebar.\n\nIt's like `php artisan route:list` for your browser. Supports sorting and filtering.\n\n![screenshot of Laravel Nova Route Viewer tool](https://sarabine.com/i//Laravel-Nova-Route-Viewer-Tool.png)\n\n## Installation\n\nInstall via [Composer](https://getcomposer.org/):\n```\ncomposer require sbine/route-viewer\n```\n\nRegister the tool in `app/Providers/NovaServiceProvider`:\n\n```php\npublic function tools()\n{\n    return [\n        new \\Sbine\\RouteViewer\\RouteViewer,\n    ];\n}\n```\n\nYou can customize the translations by publishing them to your local folder `resources/lang/vendor/route-viewer`:\n\n```\nphp artisan vendor:publish --provider=\"Sbine\\RouteViewer\\ToolServiceProvider\"\n```\n\n## Custom Columns\n\nYou can add custom columns to the route viewer table. Register them in your `NovaServiceProvider` or `AppServiceProvider`:\n\n```php\nuse Sbine\\RouteViewer\\RouteViewer;\nuse Sbine\\RouteViewer\\Column;\n\n// Simple per-route resolver\nRouteViewer::addColumn(\n    Column::make('Domain', 'domain')\n        -\u003eusing(fn (\\Illuminate\\Routing\\Route $route) =\u003e $route-\u003egetDomain() ?? '—')\n);\n\n// Batch resolver (efficient for DB lookups, avoids N+1)\nRouteViewer::addColumn(\n    Column::make('Hits', 'hits')\n        -\u003eusingBatch(function (array $routes): array {\n            $hits = DB::table('route_hits')\n                -\u003ewhereIn('uri', array_column($routes, 'uri'))\n                -\u003egroupBy('uri')\n                -\u003epluck(DB::raw('count(*)'), 'uri');\n\n            return array_map(fn ($r) =\u003e $hits[$r['uri']] ?? 0, $routes);\n        })\n);\n\n// Non-sortable column\nRouteViewer::addColumn(\n    Column::make('Notes', 'notes')\n        -\u003eusing(fn ($route) =\u003e config(\"route-notes.{$route-\u003euri}\", ''))\n        -\u003esortable(false)\n);\n```\n\nCustom columns are automatically searchable and sortable. Use `-\u003esortable(false)` to opt out of sorting.\n\n## Contributing\n\nAfter updating frontend assets, rebuild for production:\n\n```\nnpm install\nnpm run prod\n```\n\n\u003e **Note:** This project uses Laravel Mix 6, which requires Node.js 20 LTS. It is not compatible with Node.js 25+.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbine%2Fnova-route-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbine%2Fnova-route-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbine%2Fnova-route-viewer/lists"}