#48 - user avatars using ui-avatars.com
This commit is contained in:
@@ -17,6 +17,6 @@ return [
|
||||
],
|
||||
],
|
||||
"links" => [
|
||||
public_path("avatars") => storage_path("app/avatars"),
|
||||
public_path("storage") => storage_path("app/storage"),
|
||||
],
|
||||
];
|
||||
|
||||
@@ -8,13 +8,13 @@ return [
|
||||
"sync" => [
|
||||
"driver" => "sync",
|
||||
],
|
||||
'redis' => [
|
||||
'driver' => 'redis',
|
||||
'connection' => 'default',
|
||||
'queue' => env('REDIS_QUEUE', 'default'),
|
||||
'retry_after' => 90,
|
||||
'block_for' => null,
|
||||
'after_commit' => false,
|
||||
"redis" => [
|
||||
"driver" => "redis",
|
||||
"connection" => "default",
|
||||
"queue" => env("REDIS_QUEUE", "default"),
|
||||
"retry_after" => 90,
|
||||
"block_for" => null,
|
||||
"after_commit" => false,
|
||||
],
|
||||
],
|
||||
"failed" => [
|
||||
|
||||
21
config/ui-avatars.php
Normal file
21
config/ui-avatars.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
"provider" => "api",
|
||||
"default_region" => "eu",
|
||||
"length" => 2,
|
||||
"image_size" => 48,
|
||||
"font_size" => 0.33,
|
||||
"rounded" => true,
|
||||
"smooth_rounding" => true,
|
||||
"uppercase" => true,
|
||||
"background_color" => "#a0a0a0",
|
||||
"font_color" => "#F4F8FD",
|
||||
"font_bold" => true,
|
||||
"providers" => [
|
||||
"api" => Rackbeat\UIAvatars\Generators\ApiGenerator::class,
|
||||
"local" => Rackbeat\UIAvatars\Generators\LocalGenerator::class,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user