leek/filament-dicebear
DiceBear avatar provider for Filament panels, supporting all 31 DiceBear styles with caching, per-model customization, and self-hosted instances. Just register the plugin and provider to give users without custom avatars a generated DiceBear avatar.
Upgrades the plugin to DiceBear v10. This is a major release: see UPGRADE.md before updating.
dicebear/core + dicebear/styles, so there are no network calls or rate limits, and the output is byte-identical to the HTTP API->driver('http') for public or self-hosted APIs. The default API version is now 10.x->format('png' | 'jpg' | 'webp' | 'avif'), rendered by the HTTP API->customStyle('brand', $path) or the custom_styles config keyreport() and fall back to the HTTP API URL instead of breaking the pagecategory() (Minimalist, Characters, Scenes), isAnimated() and DiceBearStyle::animated()->animated() turns on the opt-in animation of the 19 animated styles, at a speed picked by the seed->animationSpeed(AnimationSpeed::Slow) fixes the speed<img> tags and respects prefers-reduced-motiontags filter no longer switches animation offborderRadius, translateX/translateY, title, idRandomization, fontFamily, fontWeight, tags, and background Fill / FillStops / Angle / Order[min, max] pairoptions config key for global defaults using v10 names, plus animation, driver and format keysscale() now takes a factor from 0 to 10 instead of a percentagegetSize(), getRadius(), getScale(), getRotate(), getFlip(), getBackgroundColor() and getBackgroundType() were removed. Use getCoreOption() insteadThumbs->isMinimalist() is now false, following DiceBear's own categoriesradius() and backgroundType(), the radius and backgroundType option keys, the value gradientLinear, the strings 'true'/'false' for flip, the flat 1.x config keys, and style options without the Variant suffix (eyes → eyesVariant)E_USER_DEPRECATED notice once per processactions/checkout to 7.0.1Full Changelog: https://github.com/leek/filament-dicebear/compare/v1.2.2...v2.0.0
Security and CI-hygiene improvements:
pint --testSECURITY.md with private vulnerability reporting instructions.gitattributes export-ignore rules keep tests, CI config, and build tooling out of Composer installsFull Changelog: https://github.com/leek/filament-dicebear/compare/v1.2.1...v1.2.2
Docs / metadata only — no code or behavior changes.
composer.json suggest entries pointing at companion plugins (sorted alphabetically).HasDiceBearAvatar trait now inherits panel-registered plugin config (baseUrl, apiVersion, cache settings) instead of creating a fresh instanceDiceBearStyle::tryFrom() with Initials fallback prevents crashes on invalid style valuesStr::slug() for filesystem safetytimeout(5) and retry(2, 100) to prevent slow API calls from blocking page rendering\Throwable caught at all IO boundaries with graceful fallbacks for storage failuresDiceBear avatar provider for Filament panels.
DiceBearStyle enumDiceBearPlugin with fluent configuration (style, size, radius, scale, flip, rotate, background, caching, self-hosting)DiceBearProvider implementing Filament's AvatarProvider with disk caching and data URI fallbackHasDiceBearAvatar trait for per-model customization with uploaded photo fallback hookHow can I help you explore Laravel packages today?