Download the PHP package darbaoui/laravel-ui-avatars without Composer
On this page you can find all versions of the php package darbaoui/laravel-ui-avatars. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download darbaoui/laravel-ui-avatars
More information about darbaoui/laravel-ui-avatars
Files in darbaoui/laravel-ui-avatars
Download darbaoui/laravel-ui-avatars
More information about darbaoui/laravel-ui-avatars
Files in darbaoui/laravel-ui-avatars
Vendor darbaoui
Package laravel-ui-avatars
Short Description generate an avatar image based on the name, size and background color and more
License MIT
Package laravel-ui-avatars
Short Description generate an avatar image based on the name, size and background color and more
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-ui-avatars
Laravel ui avatar generator based on https://ui-avatars.com
Installation
This package requires Laravel 5.4 or higher.
- You can install the package via composer:
Usage
Available methods
methods | description | default value |
---|---|---|
name() |
The name used to generate initials | John Doe |
size() |
Avatar image size in pixels. Between: 16 and 512 | 64 |
rounded() |
Boolean specifying if the returned image should be a circle | false |
uppercase() |
Decide if the API should uppercase the name/initials. | true |
fontSize() |
Font size in percentage of size. Between 0.1 and 1. | 0.5 |
background() |
Hex color for the image background, without the hash (#) | f0e9e9 |
color() |
Hex color for the font, without the hash (#). | 8b5d5d |
length() |
Length of the generated initials. | 2 |
bold() |
Boolean specifying if the returned letters should use a bold font. Default: false | false |
svg() |
Decide to the avatar should be return SVG | - |
All versions of laravel-ui-avatars with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package darbaoui/laravel-ui-avatars contains the following files
Loading the files please wait ....