yeargin / defaultprofileimagecreator
Creates a profile image with a set of user initials in it.
v1.0.0
2020-04-25 23:25 UTC
Requires
- php: ^7.2
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2024-12-26 16:23:07 UTC
README
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.