Loading...
 
Skip to main content

Avatar

How to choose the right software library for tiki.


After reading the article that explain the best way to choose a software library for tiki https://dev.tiki.org/How-to-pick-a-software-libraryQuestion.

Related to the task https://avan.tech/item71402-Generate-Avatars-in-Tiki-until-users-upload-their-ownQuestion , some research has been done to to try to find out witch libray will be good for tiki.
The choice of libray was based on some criteria:

  • number of download
  • number of dependances
  • number of stars
  • and easy to implement


The fist one is https://packagist.org/packages/multiavatar/multiavatar-phpQuestion, the library does not required extenal depences and everything has been design with a single class.
easy to use and generate SVG image with can be stored.

The sencond is https://packagist.org/packages/laravolt/avatarQuestion it has a large community and have more that 1M download.
It has been design to be used in laravel project but can be used in other project, but it has so much pendencies and some of symphony, knowing that tiki also used to dependcy of symphony.
It can generate PNG or JPG file or SVG.

And the last one is https://github.com/splitbrain/monsterIDQuestion, it a good tool, but i realised that, all avatar are PNG file created and stored on a folder ready for use, with can be easy replaced by https://packagist.org/packages/multiavatar/multiavatar-phpQuestion.

Some library where design to be use only with laravel (most) or for wordpress.

Show PHP error messages