Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ We'll assume you're using this git repository as a git submodule, and have it lo
$avatar = $gravatar->buildGravatarURL('someemail@domain.com');
```

### composer example

If you're using this package via composer, the usage will be almost the same, except you won't need the include and you'll need to call the class with a lower case file name. See below.

``` php
<?php

$gravatar = new \emberlabs\gravatarlib\Gravatar();

//Same as above

```

### setting the default image

Gravatar provides several pre-fabricated default images for use when the email address provided does not have a gravatar or when the gravatar specified exceeds your maximum allowed content rating.
Expand Down