New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

matondojk/filament-avatar-picker

A beautiful, highly-customizable avatar gallery and upload picker component for Filament PHP.
4,578 8

Larablocks Analysis

matondojk/filament-avatar-picker works with Laravel 10 to 13 (latest release v4.0.1, Sep 10, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Sep 10, 2026)
  • 808 downloads a month (needs 10,000)
  • 8 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Sep 10, 2026.
  • 26 releases in the last 12 months.
  • First released: Aug 15, 2026.
  • Monthly downloads: 808.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require matondojk/filament-avatar-picker
Latest Version:v4.0.1
PHP:^8.1
Laravel:10 – 13
License:MIT
Last Updated:Sep 10, 2026
Links: GitHub  ·  Packagist
Maintainer: matondojk

Filament Avatar Picker

A beautiful, highly-customizable avatar gallery and upload picker component for Filament PHP.

Avatar Picker Demo

Features

  • Component First: Use it as a form field (AvatarPicker::make('avatar')) anywhere in your Filament forms.
  • Curated Avatar Gallery: Display a gorgeous grid of pre-defined avatars.
  • Custom Uploads: Isolated secure directory for user uploads (custom-avatars).
  • Multi-language Support: Fully translated into 12 languages (including Arabic, Spanish, French, Portuguese, Chinese, etc.).
  • Smart Sorting: Customizable initial avatar priority.
  • Dark/Light Mode: First-class support for Filament themes.

Installation

  1. Install the package via Composer:
composer require matondojk/filament-avatar-picker
  1. Publish the assets (this will copy the default curated avatars to your storage directory):
php artisan vendor:publish --tag=filament-avatar-picker-assets
php artisan storage:link

Usage

Use the AvatarPicker component inside any of your Filament forms (such as in a Resource or a custom Page). It acts just like a standard field and automatically handles both file uploads and gallery selection.

use MatondoJK\FilamentAvatarPicker\Components\AvatarPicker;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            AvatarPicker::make('avatar')
                ->label('Profile Picture'), // You can define any label you want!
                
            // ... other fields
        ]);
}

The component automatically saves the chosen string (either a gallery filename or the uploaded file path) directly to the database column you specify (avatar in the example above). No forced migrations or table changes!

Setting up the User Model

For the avatar to work properly globally in the Filament panel (such as in the topbar), your User model must implement the HasAvatar interface from Filament.

Important: You must create your own string field in your database (e.g., avatar_url or avatar) via your own migration to save the avatar path. This package does NOT include any migrations because table structure should remain in your control.

Here is exactly how your User model should look:

<?php

namespace App\Models;

// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Database\Factories\UserFactory;
use Filament\Models\Contracts\HasAvatar;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Attributes\Hidden;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Storage;

#[Fillable(['name', 'email', 'password', 'avatar_url'])]
#[Hidden(['password', 'remember_token'])]
class User extends Authenticatable implements HasAvatar
{
    /** @use HasFactory<UserFactory> */
    use HasFactory, Notifiable;

    /**
     * Get the attributes that should be cast.
     *
     * @return array<string, string>
     */
    protected function casts(): array
    {
        return [
            'email_verified_at' => 'datetime',
            'password' => 'hashed',
        ];
    }

    public function getFilamentAvatarUrl(): ?string
    {
        return $this->avatar_url ? Storage::disk('public')->url($this->avatar_url) : null;
    }
}

Publishing Views & Translations

If you wish to modify the blade views or translations, you can publish them:

php artisan vendor:publish --tag=filament-avatar-picker-views

License

The MIT License (MIT). Please see License File for more information.

Related Packages

alizharb/filament-activity-log

A security-first audit control center for Filament v4 and v5 with tenant isolati...

205,062 33
kanuni/filament-cards
13,135 51
tapp/filament-footer

A Filament plugin to add a customizable copyright footer to all panels

12,157 6
ashrafic/filament-automation-bridge

Turn any Eloquent model event into an automation trigger for Zapier, Make, or n8...

3,860 6
allgorithm/filament-actionguard

Stop incomplete records and prevent data degradation across critical Filament ac...

1,909 1

Version History

Version Released PHP Laravel License
v4.0.1 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v4.0.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v3.0.0 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v2.0.16 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v2.0.15 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT