yeargin/defaultprofileimagecreator

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Creates a profile image with a set of user initials in it.

v1.0.0 2020-04-25 23:25 UTC

This package is auto-updated.

Last update: 2021-08-26 09:19:00 UTC


README

1 2 3

This allows you to create a PNG image using a user's initials on a circle, with the color set by a provided string (e.g. a User ID or their full name) to better differentiate between users. It is an improvement on the typical "mystery man" approach.

  • Flexible implementation allows you to write to a cache or render inline
  • Font color adjusts for readability on a particular background

See Documentation for usage instructions.