Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Avatar Laravel Package

laravolt/avatar

Generate unique, colorful initials-based avatars for any user in Laravel or plain PHP. Output as base64 data-URI directly in views, save to PNG/JPG with custom quality, or use Gravatar. Customizable config, auto-discovery, works with Laravel 10-13 and PHP 8.3+.

View on GitHub
Deep Wiki
Context7
7.0.0

What's Changed

Breaking

  • Dropped support for PHP 8.2 — minimum PHP version is now 8.3 (#198)

Fixed

  • Stale cache key in toBase64(): cacheKey() was computed before buildInitial() ran, so every avatar shared an empty-initials key and produced duplicate cache entries. buildInitial() is now called before the key is computed (#182, #202)
  • CI failures on PHP 8.3/8.4: composer.json now requires PHP >= 8.3, matching the intervention/image v4 requirement, so prefer-lowest/prefer-stable resolve consistently (#198)
  • Base64 snapshot tests no longer depend on exact GD/Imagick-encoded bytes (pHYs/DPI metadata), making the test suite stable across environments (#198)

Full Changelog: https://github.com/laravolt/avatar/compare/6.5.1...7.0.0

6.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.5.0...6.5.1

6.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.4.0...6.5.0

6.2.0

What's Changed

Full Changelog: https://github.com/laravolt/avatar/compare/6.1.3...6.2.0

6.1.3

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.1.2...6.1.3

6.1.2

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.1.1...6.1.2

6.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.1.0...6.1.1

6.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/6.0.0...6.1.0

6.0.0

What's Changed

  • Breaking: Drop support for PHP 8.0
  • Breaking: Drop support for Laravel 8 and 9
  • Feat: Compatible with intervention/image 3 (#150)
  • Chore: add type declarations
  • Fix #149

Full Changelog: https://github.com/laravolt/avatar/compare/5.1.0...6.0.0

5.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/5.0.0...5.1.0

5.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravolt/avatar/compare/4.1.7...5.0.0

4.1.7
4.1.6
  • Support Laravel 9
4.1.5
4.1.4
4.1.3
  • revert previous release
4.1.2
  • Fix #126
4.1.1
4.1.0
  • Add RTL support (#109)
  • Add support to use foreground and background border colors for svgs
4.0.0
  • Change default image driver to gd.
  • Add public method getAttribute($attribute)
  • Add support for Laravel 8
  • Drop support for Laravel 5.6, 5.7, and 5.8
  • Drop support for PHP 7.1 and 7.2
3.2.1
3.2.0
  • Support Laravel 7
3.1.0
  • add border.radius config
  • change setBorder() signature: add third (optional) parameter $radius
3.0.6
  • fix SVG declaration
3.0.5
  • fix default theme initialization
  • validate theme setter
3.0.4
  • Fix theming
3.0.3
3.0.2
  • Change SVG declaration
3.0.0
2.2.1
2.2.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mydnic/volet-feature-board-filament-plugin
wmde/email-address
refinery29/test-util
dees040/laravel-api-responses
teamzac/geocoder
ideatica/config-writer
keaton-php/pipe-dream
jacksonwebservices/laravel-user-suite
maksimru/conditional-laravel-debugbar
gismatul/nova-support-chat
gismatul/laravel-support-chat
networkrailbusinesssystems/oracle-api
alphabalex/messaging-made-easy
rawphp/warp
shootkiran/merobug
narakode/fineauth
numencode/wn-syncops-plugin
ibnnajjaar/mib-global-pay
refinery29/php-cs-fixer-config
parsnick/steak