PHP code example of swatty007 / nova-easy-avatars
1. Go to this page and download the library: Download swatty007/nova-easy-avatars library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
swatty007 / nova-easy-avatars example snippets
php
use Swatty007\NovaEasyAvatars\Fields\Initials;
public function fields(Request $request)
{
return [
...
Initials::make('Avatar', 'name')
->setSize(350),
...
]