Download the PHP package ssh521/laravel-file-manager without Composer
On this page you can find all versions of the php package ssh521/laravel-file-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ssh521/laravel-file-manager
More information about ssh521/laravel-file-manager
Files in ssh521/laravel-file-manager
Package laravel-file-manager
Short Description A simple and elegant file manager for Laravel applications with drag & drop upload, folder management, and file preview capabilities.
License MIT
Informations about the package laravel-file-manager
Laravel File Manager
A modern and elegant file manager for Laravel applications with drag & drop upload, folder management, and image preview capabilities built with Tailwind CSS 4.0.
📦 GitHub Repository: https://github.com/ssh521/laravel-file-manager.git
Features
- 📁 Folder Management: Create, delete, and navigate through directories with breadcrumb navigation
- 📤 File Upload: Modern drag & drop interface with multi-file support
- 🖼️ Image Preview: Real-time preview for image files with responsive sizing
- 🗂️ File Operations: Batch delete files and folders with selection
- 🔒 Security: Advanced path traversal protection and configurable file restrictions
- 🎨 Modern UI: Built with Tailwind CSS 4.0 for a clean, responsive interface
- 🔐 Authentication: Configurable middleware support (web, auth, admin)
- ⚙️ Highly Configurable: Extensive configuration options for all aspects
- 🌐 Localization Ready: Easy to customize text and labels
- 📱 Mobile Responsive: Works perfectly on all device sizes
- ✨ No Dependencies: Self-contained with CDN assets (Tailwind CSS 4.0 + Font Awesome 6)
Screenshots
Modern Tailwind CSS 4.0 interface with drag & drop functionality, breadcrumb navigation, and real-time image previews.
Installation
You can install the package via composer:
The package will automatically register itself using Laravel's package auto-discovery.
Publish Assets (Optional)
Publish the configuration file:
Publish views for customization:
Storage Setup
Make sure your storage is properly linked:
Usage
Basic Usage
The file manager will be automatically available at /file-manager route.
You can also create a link to the file manager in your application:
Configuration
After publishing the configuration file, you can customize the behavior in config/file-manager.php:
Integration with Your Application
Add Navigation Link
Custom Back Button
Set the back route in your config:
Middleware Protection
Configure authentication and authorization:
Configuration Options
Storage Configuration
Route Configuration
File Upload Restrictions
UI Customization
Security Features
- Path Traversal Protection: Prevents access outside storage directory
- File Type Restrictions: Configurable forbidden extensions
- CSRF Protection: All forms protected with CSRF tokens
- Folder Name Validation: Prevents malicious folder names
API Endpoints
The package provides these endpoints:
GET /file-manager- File manager interfacePOST /file-manager/upload- Upload filesPOST /file-manager/create-folder- Create new folderDELETE /file-manager/delete- Delete files/folders
Customization
Custom Views
Publish the views and modify them:
Views will be published to resources/views/vendor/file-manager/
Custom Styling
The package uses Tailwind CSS 4.0 and Font Awesome 6 icons loaded via CDN. You can override styles by publishing the views and adding custom CSS, or by customizing the Tailwind classes directly.
Extending the Controller
You can extend the FileManagerController to add custom functionality:
Requirements
- PHP ^8.2
- Laravel ^11.0|^12.0
- Modern browser with JavaScript enabled
- Tailwind CSS 4.0 (included via CDN)
- Font Awesome 6 (included via CDN)
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Changelog
v1.0.0
- 🎉 Initial release
- 📁 Complete file management functionality (upload, create folders, delete)
- 🎨 Modern Tailwind CSS 4.0 interface
- 🖼️ Image preview with responsive sizing
- 🔒 Advanced security features (path traversal protection, file validation)
- 🔐 Configurable authentication middleware
- ⚙️ Comprehensive configuration options
- 📱 Mobile-responsive design
- ✨ Self-contained with CDN assets (no external dependencies)
All versions of laravel-file-manager with dependencies
laravel/framework Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0