imahmood / laravel-file-storage
Laravel file storage
Installs: 4 552
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ext-ffi: *
- doctrine/dbal: ^3.7
- jcupitt/vips: ^2.0
- laravel/framework: ^9.0|^10.0|^11.0
- nesbot/carbon: ^2.0
Requires (Dev)
- larastan/larastan: ^2.0
- laravel/pint: ^1.0
- orchestra/testbench: ^8.11
README
FileStorage is a Laravel package that simplifies the process of uploading and attaching files to models, while also automating preview generation and image optimization.
Features
- 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.
Requirements
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.
Documentation
License
The MIT License (MIT). Please see License File for more information.