From ab3e69e83155993240fb852f112dd390f27e843a Mon Sep 17 00:00:00 2001 From: Mekan1206 Date: Wed, 18 Feb 2026 04:23:36 +0500 Subject: [PATCH] WIP --- app/Support/ShortFileNamer.php | 30 ++++++++++++++++++++++++++++++ config/media-library.php | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 app/Support/ShortFileNamer.php diff --git a/app/Support/ShortFileNamer.php b/app/Support/ShortFileNamer.php new file mode 100644 index 0000000..0569a89 --- /dev/null +++ b/app/Support/ShortFileNamer.php @@ -0,0 +1,30 @@ + Spatie\MediaLibrary\Support\FileNamer\DefaultFileNamer::class, + 'file_namer' => App\Support\ShortFileNamer::class, /* * The class that contains the strategy for determining a media file's path.