imahmood/laravel-file-storage

Laravel file storage

v2.1.1 2024-03-04 06:00 UTC

This package is auto-updated.

Last update: 2024-04-04 06:12:29 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.