harvirsidhu/filament-cards
Turn any Filament page into a card-based navigation hub. Auto-discovers Cluster/Resource pages, respects navigation config, checks authorization, and supports grouping, columns/spans, visibility rules, manual links, and optional search—ideal for settings hubs and dashboards.
label, schema, visible, hidden, columnSpan), ensuring seamless integration with Filament v4/v5 clusters, resources, and pages. This reduces cognitive load for developers already familiar with Filament’s ecosystem.discoverClusterCards()/discoverResourceCards()) aligns well with modular, component-driven architectures. This reduces boilerplate and manual maintenance.canAccess() checks, ensuring cards are dynamically hidden based on user permissions. This is critical for multi-tenant SaaS applications.showInFilamentCards() allow granular control over visibility.$excludedClusterComponents).canAccess() suffice, or are custom visibility rules needed?visible() closures or dynamic registration.discoverClusterCards() and adjust exclusion lists as needed.CardsPage one at a time.searchKeywords()) for usability.showInFilamentCards() or getFilamentCardsGroup().canAccess() and Laravel’s gate/policy system. No custom middleware is required.theme.css to include the package’s views (one-time setup).npm run build).CardsPage for the target cluster/resource.getCards() with auto-discovery (discoverClusterCards() or discoverResourceCards()).CardGroup), sorting, and visibility rules.$navigationLabel) are automatically reflected in cards.$excludedClusterComponents) simplify maintenance for hidden pages.theme.css includes the package’s views).showInFilamentCards() or exclusion lists).canAccess() calls).cache() method).visible() closures or dynamic registration.canAccess() checks.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Tailwind setup failure | Broken styling | Verify theme.css includes @source for the package’s views. |
How can I help you explore Laravel packages today?