davidpiesse / nova-avatars
This package is abandoned and no longer maintained.
No replacement package was suggested.
Additional Avatar Fields such as Identicon
0.0.3
2019-01-29 09:02 UTC
Requires
- php: >=7.1.0
- laravolt/avatar: ^2.0
- yzalis/identicon: ^1.2
This package is auto-updated.
Last update: 2022-02-09 20:07:22 UTC
README
Additional avatar field options for when Gravatar is not what you want!
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"