2017 © Pedro Peláez
 

library gravatar-helper

Helper package for creating Gravatar url's and image tags.

image

kevindierkx/gravatar-helper

Helper package for creating Gravatar url's and image tags.

  • Sunday, March 5, 2017
  • by kevindierkx
  • Repository
  • 1 Watchers
  • 1 Stars
  • 212 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

Gravatar Helper

Helper package for creating Gravatar url's and image tags., (*1)

Installation

To install this package you will need:, (*2)

  • Laravel 5+
  • PHP 5.4

You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*3)

"require": {
    "kevindierkx/gravatar-helper": "2.0.*"
}

Or you can run the composer require command from your terminal., (*4)

composer require kevindierkx/gravatar-helper:2.0.*

Once the package is installed you need to open app/config/app.php and register the required service provider., (*5)

'providers' => [
    Kevindierkx\GravatarHelper\Providers\LaravelServiceProvider::class,
]

Optionaly you can add the following line to your aliases., (*6)

'aliases' => [
    'Gravatar' => Kevindierkx\GravatarHelper\Providers\Facades\Gravatar::class,
]

Configuration

Run the following command to publish the package configuration., (*7)

php artisan vendor:publish

Usage

To parse an image tag., (*8)

Gravatar::image('email@example.com');

// <img src="https://secure.gravatar.com/avatar/5658ffccee7f0ebfda2b226238b1eb6e?s=80&r=g&d=404">

Or to parse an url., (*9)

Gravatar::url('email@example.com');

// https://secure.gravatar.com/avatar/5658ffccee7f0ebfda2b226238b1eb6e?s=80&r=g&d=404

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

05/03 2017

dev-master

9999999-dev

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

05/03 2017

2.0.4

2.0.4.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

07/11 2016

2.0.3

2.0.3.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

25/10 2016

2.0.2

2.0.2.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

24/07 2016

2.0.1

2.0.1.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

24/07 2016

2.0.0

2.0.0.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

 

by Kevin Dierkx

laravel php gravatar kevindierkx

31/12 2014

1.0.1

1.0.1.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Kevin Dierkx

laravel php gravatar kevindierkx

31/12 2014

1.0.0

1.0.0.0

Helper package for creating Gravatar url's and image tags.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Kevin Dierkx

laravel php gravatar kevindierkx