{"id":21504421,"url":"https://github.com/dcasia/resource-navigation-link","last_synced_at":"2025-07-16T00:32:10.067Z","repository":{"id":39227709,"uuid":"240207174","full_name":"dcasia/resource-navigation-link","owner":"dcasia","description":"Create links to internal or external resources.","archived":false,"fork":false,"pushed_at":"2025-01-23T12:36:03.000Z","size":149,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-30T23:50:57.839Z","etag":null,"topics":["laravel","nova","nova4","tabs"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dcasia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"milewski","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-02-13T08:04:11.000Z","updated_at":"2025-01-23T12:35:26.000Z","dependencies_parsed_at":"2023-10-02T08:43:32.167Z","dependency_job_id":"7c93cd1c-bfca-4d1f-b6bf-c393e0de82a3","html_url":"https://github.com/dcasia/resource-navigation-link","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.3076923076923077,"last_synced_commit":"32b95828eea721ae77e6535d519bd5739743e97f"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dcasia/resource-navigation-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcasia%2Fresource-navigation-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcasia%2Fresource-navigation-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcasia%2Fresource-navigation-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcasia%2Fresource-navigation-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcasia","download_url":"https://codeload.github.com/dcasia/resource-navigation-link/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcasia%2Fresource-navigation-link/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265470718,"owners_count":23771464,"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":["laravel","nova","nova4","tabs"],"created_at":"2024-11-23T18:59:49.356Z","updated_at":"2025-07-16T00:32:09.756Z","avatar_url":"https://github.com/dcasia.png","language":"PHP","funding_links":["https://github.com/sponsors/milewski"],"categories":[],"sub_categories":[],"readme":"# Resource Navigation Link\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/digital-creative/resource-navigation-link)](https://packagist.org/packages/digital-creative/resource-navigation-link)\n[![Total Downloads](https://img.shields.io/packagist/dt/digital-creative/resource-navigation-link)](https://packagist.org/packages/digital-creative/resource-navigation-link)\n[![License](https://img.shields.io/packagist/l/digital-creative/resource-navigation-link)](https://github.com/dcasia/resource-navigation-link/blob/main/LICENSE)\n\nThis package is very similar to the https://github.com/dcasia/resource-navigation-tab (visually they are identical)\nhowever internally they works differently.\n\nThe main difference is that this package is a *Card* (not a field), and it links to other resources instead of filtering the current resource\n\n# Installation\n\nYou can install the package via composer:\n\n```\ncomposer require digital-creative/resource-navigation-link\n```\n\n## Basic Usage\n\n```php\nuse DigitalCreative\\ResourceNavigationLink\\ResourceNavigationLink;\nuse DigitalCreative\\ResourceNavigationLink\\Link;\nuse Laravel\\Nova\\Http\\Requests\\NovaRequest;\n\nclass User extends Resource {\n\n    public function cards(NovaRequest $request): array\n    {\n        return [\n            ResourceNavigationLink::make([\n                Link::toResourceIndex(User::class),\n                Link::toResourceIndex(Article::class),\n                Link::toLens(Article::class, MostViewed::class),\n                Link::toExternalUrl('Documentation', 'https://laravel.com/docs/10.x/readme'),\n            ]),\n        ];\n    }\n\n}\n\n/**\n * Optional: if you want to copy the navigation links from another resource\n */\nclass Article extends Resource {\n\n    public function cards(NovaRequest $request): array\n    {\n        return [\n            ...ResourceNavigationLink::copyFromResource(User::class),\n        ];\n    }\n\n}\n```\n\n## ⭐️ Show Your Support\n\nPlease give a ⭐️ if this project helped you!\n\n### Other Packages You Might Like\n\n- [Nova Dashboard](https://github.com/dcasia/nova-dashboard) - The missing dashboard for Laravel Nova!\n- [Nova Welcome Card](https://github.com/dcasia/nova-welcome-card) - A configurable version of the `Help card` that comes with Nova.\n- [Icon Action Toolbar](https://github.com/dcasia/icon-action-toolbar) - Replaces the default boring action menu with an inline row of icon-based actions.\n- [Expandable Table Row](https://github.com/dcasia/expandable-table-row) - Provides an easy way to append extra data to each row of your resource tables.\n- [Collapsible Resource Manager](https://github.com/dcasia/collapsible-resource-manager) - Provides an easy way to order and group your resources on the sidebar.\n- [Resource Navigation Tab](https://github.com/dcasia/resource-navigation-tab) - Organize your resource fields into tabs.\n- [Resource Navigation Link](https://github.com/dcasia/resource-navigation-link) - Create links to internal or external resources.\n- [Nova Mega Filter](https://github.com/dcasia/nova-mega-filter) - Display all your filters in a card instead of a tiny dropdown!\n- [Nova Pill Filter](https://github.com/dcasia/nova-pill-filter) - A Laravel Nova filter that renders into clickable pills.\n- [Nova Slider Filter](https://github.com/dcasia/nova-slider-filter) - A Laravel Nova filter for picking range between a min/max value.\n- [Nova Range Input Filter](https://github.com/dcasia/nova-range-input-filter) - A Laravel Nova range input filter.\n- [Nova FilePond](https://github.com/dcasia/nova-filepond) - A Nova field for uploading File, Image and Video using Filepond.\n- [Custom Relationship Field](https://github.com/dcasia/custom-relationship-field) - Emulate HasMany relationship without having a real relationship set between resources.\n- [Column Toggler](https://github.com/dcasia/column-toggler) - A Laravel Nova package that allows you to hide/show columns in the index view.\n- [Batch Edit Toolbar](https://github.com/dcasia/batch-edit-toolbar) - Allows you to update a single column of a resource all at once directly from the index page.\n\n## License\n\nThe MIT License (MIT). Please see [License File](https://raw.githubusercontent.com/dcasia/resource-navigation-link/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcasia%2Fresource-navigation-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcasia%2Fresource-navigation-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcasia%2Fresource-navigation-link/lists"}