Download the PHP package m2code/file-manager without Composer
On this page you can find all versions of the php package m2code/file-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m2code/file-manager
More information about m2code/file-manager
Files in m2code/file-manager
Package file-manager
Short Description Flexible Laravel File Manager: upload, move, delete, thumbnail, blurhash, and more
License MIT
Informations about the package file-manager
π οΈ File Manager for Laravel (WIP)
β οΈ This package is currently under active development. Breaking changes may occur. Contributions are welcome!
π¦ A modular, clean-architecture-based Laravel package to manage file operations β image, video, documents β with support for multiple drivers (local, cloud, Firebase, etc), progressive images, and flexible configuration.
π§ Features
- π Save and delete files (single or batch)
- π§ Auto-detect file type & handle accordingly
- π§Ύ Input-agnostic file handling (
UploadedFile, base64 data URI, raw SVG string) - π Image processing (blurhash, low quality, watermark, optimized AVIF/WebP)
- π§© Structured variants (
original,optimized,low_quality,watermark) - βοΈ Extensible storage drivers: local, S3, Firebase, etc.
- βοΈ Clean architecture (DDD-friendly & testable)
- π§© Facade and fluent Uploader API
- π Support for signed/dynamic URLs
π Installation
π Publish Configuration
π Basic Usage
Save file using facade (no config):
Save from base64 or raw SVG string:
Upload image with processing:
SVG behavior in ImageUploader
Delete files:
π‘ Get file URL
π Supported Drivers
- β Local (default)
- π S3, Firebase, Custom drivers
Configure in config/file-manager.php:
π§© Requirement: Imagick
This package uses intervention/image with Imagick driver for image processing features such as:
- Blurhash generation
- Optimized AVIF/WebP variant generation
- Low quality image variants
- Watermark (when enabled)
Imagick is required and declared in composer.json (ext-imagick).
βοΈ Why Imagick?
Compared to GD:
- Better image quality
- Faster processing for large images
- More advanced image manipulation capabilities
If you're serious about handling images, GD isβ¦ let's say, βminimum effort modeβ.
π» Installation Guide
πͺ Windows
-
Download Imagick DLL from: π https://windows.php.net/downloads/pecl/releases/imagick/
-
Choose version that matches:
- Your PHP version
- Thread safety (TS/NTS)
- Architecture (x64/x86)
-
Copy
.dllfile to:ext/ -
Enable in
php.ini: - Restart your web server
π macOS
Using Homebrew:
Then enable in php.ini:
π§ Linux (Ubuntu/Debian)
Restart PHP / Web Server:
π§ Linux (CentOS/RHEL)
Enable in php.ini:
β Verify Installation
Run:
If installed correctly, you should see:
β Current Stable Flow
- Upload image (with optional variants)
- Upload from
UploadedFile, base64 data URI, or raw SVG string - Read variant paths from
ImageUploadResult::variants - Generate URL / signed URL
- Delete single file / batch / all variants safely
π License
MIT License Β© Marij Mokoginta (M2code)
All versions of file-manager with dependencies
illuminate/support Version ^10|^11|^12|^13
illuminate/http Version ^10|^11|^12|^13
illuminate/filesystem Version ^10|^11|^12|^13
illuminate/console Version ^10|^11|^12|^13
kornrunner/blurhash Version ^1.1
ext-http Version *
intervention/image Version ^3
ext-imagick Version *