FileStorage is a Laravel package that simplifies the process of uploading and attaching files to models, while also automating preview generation and image optimization.
- Easily upload and attach files to models.
- Specify the storage disk dynamically using the
onDisk
method. - Automatically generate previews for images and PDFs and optimize images, improving user experience.
Before using this package, make sure your environment meets the following requirements:
- PHP: 8.1 or later.
- Extensions:
ext-ffi
extension is required. - System Packages:
libvips42
library is necessary for image processing.
The MIT License (MIT). Please see License File for more information.