unisharp/laravel-filemanager
UniSharp Laravel Filemanager adds a responsive web UI to browse, upload, manage, and select files/images in Laravel apps. Supports popular editors, configurable disks/paths, customization, and events—ideal for CMS/admin panels.
Pros:
Cons:
intervention/image (v3/v4), adding complexity for image processing. V4 requires PHP 8.3+.Lfm::routes()), which may clutter web.php or conflict with existing route namespaces.auth middleware; may need custom logic for API token auth (e.g., SPAs).storage/app/public) must be pre-configured.@csrf or meta tags).Unisharp to UniSharp). Requires careful testing post-upgrade.intervention/image may conflict with other packages using the same library (e.g., spatie/image-optimizer).upload_max_filesize, post_max_size).intervention/image or other image libraries that could conflict?config/lfm.php and uploaded files?vendor:publish changes).Str::of(), model observers).laravel-filemanager:upgrade commands carefully to avoid breaking changes.exif, fileinfo, and GD/Imagick are enabled. For Docker, add to Dockerfile:
RUN docker-php-ext-install exif fileinfo gd
/laravel-filemanager/upload).storage/app/lfm_files, storage/app/lfm_images).APP_URL and publish assets/config:
composer require unisharp/laravel-filemanager
php artisan vendor:publish --tag=lfm_config --tag=lfm_public
php artisan storage:link
web.php with auth middleware:
Route::middleware(['auth'])->group(function () {
\UniSharp\LaravelFilemanager\Lfm::routes();
});
config/lfm.php (e.g., disk drivers, folder paths, locales).filebrowserImageBrowseUrl).resources/views/vendor/lfm/) for branding.lfm.uploaded) or middleware.storage/app/lfm_* directories and config/lfm.php.hash_file()).auth middleware and filesystem permissions.How can I help you explore Laravel packages today?