PHPackages                             svc/avatar-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. svc/avatar-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

svc/avatar-bundle
=================

get the url for an avatar image as a twig function

5.3.0(3mo ago)1518MITPHPPHP ^8.2CI passing

Since May 23Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Sven-Ve/svc-avatar-bundle)[ Packagist](https://packagist.org/packages/svc/avatar-bundle)[ RSS](/packages/svc-avatar-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (13)Used By (0)

Svc/AvatarBundle
================

[](#svcavatarbundle)

[![CI](https://github.com/Sven-Ve/svc-avatar-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/Sven-Ve/svc-avatar-bundle/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/cf7cd245adce429125eee513be73fca2e34f12a2c9c3e555e8c0bfc057b88fd5/68747470733a2f2f706f7365722e707567782e6f72672f7376632f6176617461722d62756e646c652f76)](https://packagist.org/packages/svc/avatar-bundle)[![License](https://camo.githubusercontent.com/3b15353f3a811bc96dc074a311f4084486d7610e3f5498ef1b60390bf1075ba3/68747470733a2f2f706f7365722e707567782e6f72672f7376632f6176617461722d62756e646c652f6c6963656e7365)](https://packagist.org/packages/svc/avatar-bundle)[![Total Downloads](https://camo.githubusercontent.com/509f4cf439e28e2695f340f7895c44988e27d08f0bf26d37bcabef9d4f91b330/68747470733a2f2f706f7365722e707567782e6f72672f7376632f6176617461722d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/svc/avatar-bundle)[![PHP Version Require](https://camo.githubusercontent.com/a7e447abee5c346210ef34ad69894039a99f769f49a69fc1a2e8b0e7a4a9d1b7/687474703a2f2f706f7365722e707567782e6f72672f7376632f6176617461722d62756e646c652f726571756972652f706870)](https://packagist.org/packages/svc/avatar-bundle)[![Symfony](https://camo.githubusercontent.com/54cd4ca377b6a9e8a9a3077faa80802cbe03f15e3dd28cb3932f1c349bd5eb71/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d362e33253242253230253743253230372e32253242253230253743253230382532422d677265656e)](https://symfony.com/)[![Last commit](https://camo.githubusercontent.com/469c3d8f5733d873380c5e7e101de81dc6b883e02ec4b1ee5a9fe5c3adda2828/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f5376656e2d56652f7376632d6176617461722d62756e646c65)](https://camo.githubusercontent.com/469c3d8f5733d873380c5e7e101de81dc6b883e02ec4b1ee5a9fe5c3adda2828/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f5376656e2d56652f7376632d6176617461722d62756e646c65)"

⚠️ **Attention:**
From version 4.0 the bundle works only with Symfony &gt;=6.1, because the new Bundle Configuration System is used.
Please use version 1.x for older Symfony installations.
*The version jump comes from the synchronization of all svc bundle versions.*

### Get the url or an image for an avatar image as a twig function

[](#get-the-url-or-an-image-for-an-avatar-image-as-a-twig-function)

- [Installation](docs/installation.md)
- [Usage](docs/usage.md)

*Example (for "Test User"):*

[![Example](https://camo.githubusercontent.com/f89689d40a30ca00f0c06a3799be435378ebd6fae1e976305527afa8ae1bdd1a/68747470733a2f2f75692d617661746172732e636f6d2f6170692f3f6e616d653d546573742b557365722673697a653d3536266261636b67726f756e643d66666626636f6c6f723d30303762666626726f756e6465643d7472756526626f6c643d74727565 "Test User")](https://camo.githubusercontent.com/f89689d40a30ca00f0c06a3799be435378ebd6fae1e976305527afa8ae1bdd1a/68747470733a2f2f75692d617661746172732e636f6d2f6170692f3f6e616d653d546573742b557365722673697a653d3536266261636b67726f756e643d66666626636f6c6f723d30303762666626726f756e6465643d7472756526626f6c643d74727565)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance79

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~122 days

Recently: every ~192 days

Total

12

Last Release

110d ago

Major Versions

1.1.1 → 4.0.02022-07-16

4.0.2 → 5.0.02023-12-17

PHP version history (2 changes)1.0.0PHP ^8.0.2

5.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/32cf6fdc8247699d8d6a80d5c9c11215031520c0aa2ae7ba52e81536db860a84?d=identicon)[iSven](/maintainers/iSven)

---

Top Contributors

[![Sven-Ve](https://avatars.githubusercontent.com/u/79282618?v=4)](https://github.com/Sven-Ve "Sven-Ve (23 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/svc-avatar-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/svc-avatar-bundle/health.svg)](https://phpackages.com/packages/svc-avatar-bundle)
```

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[endroid/qr-code-bundle

Endroid QR Code Bundle

32110.6M17](/packages/endroid-qr-code-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)[yellowskies/qr-code-bundle

Symfony Barcode &amp; QR Code Generator Bundle with Twig extension

36682.9k](/packages/yellowskies-qr-code-bundle)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1432.0k](/packages/symfony-ux-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
