tinusg/filament-company-logo-column
Filament table column that displays a company logo via Logo.dev from a URL or bare domain. Supports tooltips (e.g., company name), domain overrides, sizing and format options, themes, fallbacks, and lazy loading. Configurable Logo.dev publishable key.
Pros:
Column class, requiring minimal customization. No database changes or complex dependencies.www., rejects IPs) without forcing schema changes in existing models.tooltip(), label()), reducing learning curve for teams familiar with the framework.Cons:
<div>); advanced use cases (e.g., custom monogram rendering) require manual overrides.composer require + .env key setup.website/domain columns without migrations.vendor:publish for theming (e.g., custom placeholders).sub.example.com) may need explicit handling.lazy() for offscreen logos or preload critical logos via JavaScript.javascript:alert(1)). Risk is mitigated by Logo.dev’s domain validation, but teams should validate upstream if using raw user input.website, company_url)..env and publish config/views if theming is needed.size, theme) in config/filament-company-logo-column.php.TextColumn with CompanyLogoColumn in Filament resources.- TextColumn::make('website')->url(),
+ CompanyLogoColumn::make('website')
+ ->tooltip(fn ($record) => $record->name)
+ ->size(48),
192.168.1.1, nonexistent.tld).vendor:publish for:
clickable() for linking to URLs).TextColumn with CompanyLogoColumn.size, format, and lazy settings based on performance testing..env must be updated (automate via CI/CD).192.168.1.1) for data cleanup.localStorage for logos).lazy() for offscreen logos.How can I help you explore Laravel packages today?