Download the PHP package litepie/filehub without Composer
On this page you can find all versions of the php package litepie/filehub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download litepie/filehub
More information about litepie/filehub
Files in litepie/filehub
Package filehub
Short Description Modern Laravel file and media management package with security, performance, and flexibility
License MIT
Informations about the package filehub
FileHub - Laravel File Management Package
A comprehensive file upload and management package for Laravel applications with support for polymorphic attachments, image processing, variant generation, user tracking, and document metadata.
Features
- 📎 Polymorphic File Attachments - Attach files to any Eloquent model
- 🖼️ Image Processing - Automatic variant generation (thumbnails, different sizes)
- 🔒 Security - File validation, malware scanning, signature verification
- 📊 User Tracking - Track who uploaded what, when, and from where
- 📄 Document Metadata - Store titles, descriptions, document numbers, dates
- 🎯 Collections - Organize files into collections (avatars, documents, galleries)
- ⚡ Queue Support - Process image variants in background
- 🔐 Upload Tokens - Secure upload endpoints with temporary tokens
- 🌐 URL Generation - Signed URLs, temporary URLs, variant URLs
- 🗑️ Soft Deletes - Safe file deletion with recovery options
Installation
1. Install via Composer
2. Publish Configuration
3. Run Migrations
4. Configure Storage
Make sure your storage is properly configured in config/filesystems.php:
Link storage:
Configuration
The configuration file is published to config/filehub.php. Key settings include:
Basic Usage
Add Trait to Model
Upload Files
Upload from URL or Path
Retrieve Files
Access File URLs
Delete Files
Document Metadata
FileHub supports rich document metadata:
Image Processing
Automatic Variants
Images are automatically processed into multiple sizes:
Regenerate Variants
API Usage
Generate Upload Token
Upload Files via API
User Tracking
FileHub automatically tracks upload metadata:
Security Features
- ✅ File size limits
- ✅ MIME type whitelist
- ✅ File extension blacklist
- ✅ File signature verification
- ✅ Embedded script detection
- ✅ Upload token authentication
- ✅ API key authentication
Cleanup Commands
Frontend Components
FileHub includes beautiful Vue.js, React, and React Native components:
Documentation
- Frontend Components Guide
- Installation Guide
- User Tracking Guide
- Upload Security
- Migration Guide
Testing
Troubleshooting
Images Not Processing
- Check GD/Imagick:
php -m | grep -E 'gd|imagick' - Verify storage permissions:
chmod -R 775 storage - Check queue:
php artisan queue:work
Upload Fails
- Check PHP limits:
upload_max_filesize,post_max_size - Verify storage disk is writable
- Check validation rules in config
Variants Not Generating
- Run manually:
php artisan filehub:regenerate-variants - Check logs:
storage/logs/laravel.log
License
MIT License. See LICENSE for details.
🏢 About
This package is part of the Litepie ecosystem, developed by Renfos Technologies.
Organization Structure
- Vendor: Litepie
- Framework: Lavalite
- Company: Renfos Technologies
Links & Resources
- 🌐 Website: https://lavalite.org
- 📚 Documentation: https://docs.lavalite.org
- 💼 Company: https://renfos.com
- 📧 Support: [email protected]
Built with ❤️ by Renfos Technologies
Empowering developers with robust Laravel solutions
All versions of filehub with dependencies
laravel/framework Version ^11.0|^12.0
intervention/image Version ^3.0
league/flysystem Version ^3.0
symfony/mime Version ^6.0|^7.0