braceyourself/default-nova-gravatar

A field that should probably be a PR

dev-master 2020-03-03 15:03 UTC

This package is auto-updated.

Last update: 2025-03-29 00:37:39 UTC


README

An extended nova Gravatar field

  • Import the correct field

use Braceyourself\GravatarDefault\Gravatar;

Set a default url image

    public function fields(Request $request)
    {
        return [
            Gravatar::make()
                ->default('https://cdn3.iconfinder.com/data/icons/cool-avatars-2/190/00-07-2-512.png');
        ];
    }