liveux / file-manager-bundle
Zero-dependency Symfony UX File Manager & DAM (TwigComponent, Stimulus, Flysystem, AssetMapper & Encore) with 9 themes, 6 icon sets, 12 languages, 9 editors, EasyAdmin 4/5, S3 & AI Skills.
Package info
github.com/LiveUX/file-manager-bundle
Type:symfony-bundle
pkg:composer/liveux/file-manager-bundle
Requires
- php: >=8.3
- ext-dom: *
- ext-fileinfo: *
- ext-libxml: *
- ext-mbstring: *
- league/flysystem: ^3.35.3
- psr/log: ^3.0
- symfony/cache-contracts: ^3.5
- symfony/config: ^6.4|^7.2|^8.0
- symfony/dependency-injection: ^6.4|^7.2|^8.0
- symfony/event-dispatcher: ^6.4|^7.2|^8.0
- symfony/form: ^6.4|^7.2|^8.0
- symfony/framework-bundle: ^6.4|^7.2|^8.0
- symfony/http-foundation: ^6.4|^7.2|^8.0
- symfony/mime: ^6.4|^7.2|^8.0
- symfony/security-core: ^6.4|^7.2|^8.0
- symfony/security-csrf: ^6.4|^7.2|^8.0
- symfony/stimulus-bundle: ^2.20|^3.0
- symfony/string: ^6.4|^7.2|^8.0
- symfony/translation-contracts: ^3.5
- symfony/twig-bundle: ^6.4|^7.2|^8.0
- symfony/ux-twig-component: ^2.20|^3.0
Requires (Dev)
- doctrine/dbal: ^3.9|^4.0
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0|^12.0|^13.0
- symfony/cache: ^6.4|^7.2|^8.0
- symfony/console: ^6.4|^7.2|^8.0
- symfony/security-bundle: ^6.4|^7.2|^8.0
- symfony/translation: ^6.4|^7.2|^8.0
- symfony/yaml: ^6.4|^7.2|^8.0
Suggests
- ext-gd: Recommended for fast automatic WebP/JPEG thumbnail generation
- ext-imagick: Alternative high-quality thumbnail generation driver
- ext-intl: Recommended for full Unicode NFC/NFKC/IDN security normalization and locale-aware sorting
- ext-zip: Recommended for multi-file ZIP archive downloads and safe extraction
- aws/aws-sdk-php: Required alongside league/flysystem-aws-s3-v3 for S3-compatible storage
- doctrine/dbal: Optional database-backed folder & file metadata storage (defaults.metadata.driver: doctrine)
- doctrine/doctrine-bundle: Optional Symfony Doctrine integration for DBAL metadata storage
- easycorp/easyadmin-bundle: Optional EasyAdmin 4/5 FileManagerField integration
- league/flysystem-aws-s3-v3: Required for AWS S3, Cloudflare R2, MinIO, Supabase Storage, or Backblaze B2 volumes
- symfony/ai-bundle: Optional: registers Symfony AI Platform services used by the AI enrichment bridge
- symfony/ai-platform: Optional AI Vision & Text auto-tagging, alt-text, and caption enrichment (SymfonyAiAssetEnricher is auto-registered when installed)
- symfony/asset-mapper: Recommended for zero-build Stimulus & CSS asset delivery
- symfony/console: Recommended for CLI maintenance commands (doctor, cache:clear, thumbs:warmup, images:optimize, skills:install)
- symfony/security-bundle: Recommended for Role/Voter RBAC permissions and user-scoped {user_id} paths
- symfony/translation: Recommended for 12 built-in UI languages (en, tr, fr, de, es, ar, it, pt, nl, pl, ja, zh_CN)
- symfony/yaml: Recommended for bundled English fallback translations when symfony/translation is absent
Provides
None
Conflicts
None
Replaces
None
README
LiveUX FileManagerBundle
Modern, high-performance Symfony UX File Manager & Digital Asset Manager (DAM) for Symfony 6.4 LTS, 7.2+ and 8.x (PHP 8.3+) — with zero external CSS framework dependencies, 9 built-in themes, 6 SVG icon sets, 12 native languages (including Arabic RTL), EasyAdmin 4/5, and 9 built-in WYSIWYG, block & page-builder adapters.
Documentation (12 Languages): English · Türkçe · Français · Deutsch · Español · العربية · Italiano · Português · Nederlands · Polski · 日本語 · 简体中文 · Changelog
Interactive Preview & Full HD Video Walkthrough
Full 14-Chapter 1080p Walkthrough: Watch on YouTube
Feature Matrix
| Category | Capabilities |
|---|---|
| Themes & Dark Mode | 9 built-in zero-dependency themes: bootstrap5, tailwind, shadcn, flowbite (Flowbite 4), daisyui (DaisyUI 5), tabler, preline, material, and unstyled + auto | light | dark Dark Mode |
| 3-Tier SVG Icon System | 6 MIT SVG icon sets (classic, windows11, macos, linux, minimal, vscode) + 49 overridable UI icons + 14+ folder badge icons |
| 12 Languages + Native RTL | en, tr, fr, de, es, ar (full RTL layout & keyboard inversion), it, pt, nl, pl, ja, zh_CN |
| 9 Editors + EasyAdmin 4/5 | TinyMCE 5/6/7/8, CKEditor 5, Tiptap 2, Quill 2, Trix, Summernote, Editor.js, GrapesJS, Meta Lexical + native EasyAdmin FileManagerField |
| 5 FormType Picker Variants | FileManagerPickerType (compact, card, dropzone, avatar, input) — single or reorderable multi-file gallery + CollectionType & LiveCollectionType |
| Multi-Volume Cloud Storage | Powered by League Flysystem v3: Local, AWS S3, Cloudflare R2, Supabase Storage, Google Cloud Storage (GCS), MinIO, Backblaze B2, Azure Blob, SFTP |
| Full DAM & Media Toolkit | Drag & Drop + Ctrl+V paste chunked uploads, Remote URL Import (SSRF-safe), Inline Canvas Image Editor (Crop/Rotate/Flip), PDF/Video/Audio/Code preview, Focal Point, Trash/Recycle Bin, ZIP archive download & safe unzip, Duplicate Detection, Storage Quota |
| Hybrid 0ms Architecture | SSR TwigComponent + Stimulus controller + Compact JSON (compact=1) + Smart Hybrid Pagination (<= 500 items 0ms client-side, > 500 server-side) + Native HTML5 <dialog> Top-Layer Modal & OffCanvas (start | end | top | bottom) |
| Enterprise Security | Symfony FileManagerVoter RBAC, CSRF (X-LiveUX-FM-CSRF), PathNormalizer, ConfinedLocalFilesystemAdapter symlink confinement, SvgSanitizer, Content-Security-Policy: sandbox, X-Content-Type-Options: nosniff, signed expiring Share Links, Audit Logging |
| AI & Agent Skills | Optional Symfony AI vision/text auto-tagging & alt-text enrichment + 6 bundled AI Agent Skills (SKILL.md / AGENTS.md) for Antigravity, Claude Code, Cursor, GitHub Copilot, Codex & Symfony AI Mate |
Quick Start
1. Install via Composer
composer require liveux/file-manager-bundle
2. Import Routes (config/routes/liveux_file_manager.yaml)
liveux_file_manager: resource: '@FileManagerBundle/config/routes.php'
3. Configure a Volume & Profile (config/packages/liveux_file_manager.yaml)
liveux_file_manager: defaults: theme: tailwind # bootstrap5 | tailwind | shadcn | flowbite | daisyui | tabler | preline | material | unstyled locale: en volumes: uploads: label: 'Media Library' driver: LocalFileSystem path: '%kernel.project_dir%/public/uploads' url_prefix: '/uploads' profiles: default: volumes: [uploads]
4. Render Anywhere in Twig or Symfony Forms
{# Inline Full File Manager Browser #} <twig:LiveUX:FileManager:Browser profile="default" height="680px" />
// Inside any Symfony FormType use LiveUX\FileManagerBundle\Form\FileManagerPickerType; $builder->add('coverImage', FileManagerPickerType::class, [ 'profile' => 'default', 'variant' => 'card', // compact | card | dropzone | avatar | input ]);
See the complete Installation Guide for AssetMapper, Webpack Encore, Cloud S3/R2, RBAC Voter, and Editor integrations.
Demo Applications (Symfony 6.4 LTS, 7.4 LTS & 8.1)
Explore 4 ready-to-run showcase applications in LiveUX/file-manager-demo:
| Demo App | Symfony Version | Asset Pipeline | EasyAdmin |
|---|---|---|---|
symfony64/ |
Symfony 6.4 LTS | AssetMapper (Zero-Build) | EasyAdmin 4 |
symfony7/ |
Symfony 7.4 LTS | AssetMapper (Zero-Build) | EasyAdmin 4 |
assetmapper/ |
Symfony 8.1 | AssetMapper (Zero-Build) | EasyAdmin 5 |
encore/ |
Symfony 8.1 | Webpack Encore | EasyAdmin 5 |
git clone https://github.com/LiveUX/file-manager-demo.git cd file-manager-demo/symfony7 # or symfony64 | assetmapper | encore composer install php bin/console doctrine:schema:create php -S 127.0.0.1:8094 -t public
AI Agent Skills
Install the 6 bundled Agent Skills (setup, forms-and-editors, theming-and-icons, security-and-rbac, extensions-and-ai, contributing) into your coding assistant:
php bin/console file-manager:skills:install # .agents/skills/ (Antigravity, Codex, Windsurf) php bin/console file-manager:skills:install --target=all # .agents, .claude, .cursor, .github
Also auto-discovered by symfony/ai-mate (extra.ai-mate.skills) and npx skills add LiveUX/file-manager-bundle.
Organization & License
- Organization: LiveUX on GitHub · Repository · Demo Apps
- License: MIT License. See LICENSE.
