imahmood/laravel-file-storage

Laravel file storage

v2.1.2 2024-05-17 19:46 UTC

This package is auto-updated.

Last update: 2024-11-17 21:03:46 UTC


README

Latest Stable Version GitHub Tests Action Status Total Downloads License

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.