Download the PHP package emanueleminotto/gravatar-service-provider without Composer
On this page you can find all versions of the php package emanueleminotto/gravatar-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emanueleminotto/gravatar-service-provider
More information about emanueleminotto/gravatar-service-provider
Files in emanueleminotto/gravatar-service-provider
Package gravatar-service-provider
Short Description Gravatar Service Provider for Silex
License MIT
Informations about the package gravatar-service-provider
Gravatar Service Provider
A Gravatar service provider for Silex.
API: emanueleminotto.github.io/GravatarServiceProvider
Install
Install Silex using Composer.
Install the GravatarServiceProvider adding emanueleminotto/gravatar-service-provider
to your composer.json or from CLI:
Usage
Initialize it using register
The gravatar.http_client
can be replaced by an instance of the Guzzle HTTP client,
by default a new instance is provided.
From PHP
From Twig
Setting the option gravatar.twig => true
, if there's the Twig service provider, you'll be able to use the Twig extension provided by the Gravatar library.