Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
E

Extra Avatars

This package is possibly abandoned. Please proceed with care.

Installation Instructions

composer require davidpiesse/nova-avatars

Usage

This field works EXACTLY the same as the built in Gravatar field - but for Identicons.

In your Nova Resource (such as User)

use Davidpiesse\NovaAvatars\Identicon;

public function fields(Request $request)
    {
        return [
            ... 
            Identicon::make(),
            ...
        ]
    }
// Using the "email" column...
Identicon::make()

// Using the "email_address" column...
Identicon::make('Avatar', 'email_address')

Readme

Nova Avatars

Additional avatar field options for when Gravatar is not what you want!

Identicon

Included Avatars

  • Identicons

Upcoming Avatars

  • Adorable.io (Cute Monsters)
  • UI Avatars (Initials)

Installation

composer require davidpiesse/nova-avatars

Usage

This field works EXACTLY the same as the built in Gravatar field - but for Identicons.

In your Nova Resource (such as User)

use Davidpiesse\NovaAvatars\Identicon;

public function fields(Request $request)
    {
        return [
            ...
            Identicon::make(),
            ...
        ]
    }
// Using the "email" column...
Identicon::make()

// Using the "email_address" column...
Identicon::make('Avatar', 'email_address')
// Using the "email" column...
Initials::make()

// Using the "email_address" column...
Initials::make('Avatar', 'email_address')

You can publish config

php artisan vendor:publish --provider="Laravolt\Avatar\ServiceProvider"
Back to Top
Added 7 years ago
Last updated 7 Years Ago
Version 0.0.3
Composer
davidpiesse/nova-avatars
GitHub stars 4
Packagist downloads 691

Favorites

6 users favorited

Rating

5.00
(out of 5)
★★★★★
★★★★
★★★
★★
2 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas