Avatar Component for Orchestra Platform

v4.0.0 2019-08-29 02:02 UTC


Avatar Component provide support for driver based avatar provider for your Laravel, PHP or Orchestra Platform application.

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status

Table of Content

Version Compatibility

Laravel Avatar
5.5.x 3.5.x
5.6.x 3.6.x
5.7.x 3.7.x
5.8.x 3.8.x
6.x 4.x


To install through composer, simply put the following in your composer.json file:

    "require": {
        "orchestra/avatar": "^4.0"

And then run composer install to fetch the package.

Quick Installation

You could also simplify the above code by using the following command:

composer require "orchestra/avatar=^4.0"


Add Orchestra\Avatar\AvatarServiceProvider service provider in config/app.php.

'providers' => [

    // ...


You might also want to add Orchestra\Support\Facades\Avatar to class aliases in config/app.php:

'aliases' => [

    // ...

    'Avatar' => Orchestra\Support\Facades\Avatar::class,


You can easily display an avatar by passing a User instance.


$user = User::find(1);

$avatar = Avatar::user($user)->render();