- Removed support for PHP prior to 8.2
- Small maintenance and clarifications
- Fixed things in doc
- Remove useless doc
- Removed
gravatar()
andgravatar_profile()
helpers functions - Added documentation to implement own helpers
- Added UPGRADE.md
- Improved README.md file
- Uppercased "README" and "CHANGELOG" files
- Removed support for PHP prior to 8.0
- Renamed
forxer\Gravatar\
namespace toGravatar\
- Renamed
getUrl(string $email)
tourl()
; email should be defined before - Introduced
gravatar()
andgravatar_profile()
helpers functions - Split code into traits to facilitate reading and maintenance
- Used more type hinting for consistency
- Renamed most variables to facilitate reading
- Added
Image::setForceDefault()
andImage::getForceDefaultImage()
- Added
Image::forceDefault()
helper method and its aliasImage::f()
- Now follows closely SemVer
- Removed
secure
optionnal parameter and always use 'protocol-agnostic' base URL instead Gravatar::image()
now return Image instance instead of URL string- Added
Image::__toString()
method Gravatar::images()
now return array of Image instances instead of array of URL stringsGravatar::profile()
now return Profile instance instead of URL string- Added
Profile::__toString()
method Gravatar::profiles()
now return array of Profile instances instead of array of URL strings- Added
Gravatar::email()
methods (helper/getter/setter) - Added
Image::size()
helper method and its aliasImage::s()
- Added
Image::defaultImage()
helper method and its aliasImage::d()
- Added
Image::rating()
helper method and its aliasImage::r()
- Added
Image::extension()
helper method and its aliasImage::e()
- Added
Profile::format()
helper method and its aliasProfile::f()
- Added
Exception\InvalidDefaultImageException
class - Added
Exception\InvalidImageExtensionException
class - Added
Exception\InvalidImageSizeException
class - Added
Exception\InvalidMaxRatingImageException
class - Added
Exception\InvalidProfileFormatException
class - Removed useless internal image params cache
- Fixed readme anchor for TOC
- Fixed double encode default image URL
- Added force default image support
- Replaced tabs by spaces
- Improved docblocks
- pdated misc informations
- Added changelog
- Removed support for PHP prior to 5.4
- Added more documentation
- Coding standard
- Added more documentation
- Global rewrite of the base code
- First public release