Multiple file sources
Accept uploads, local paths, binary content, Base64, generated documents, and remote HTTP(S) files.
Store, inspect, query, transform, download, and delete files through one consistent Laravel workflow.
FileMagic supports PHP 8.3 or later and Laravel 12 or 13. PHP ext-fileinfo is required and checked by Composer during installation. PHP ext-curl is optional and needed only for remote HTTP(S) imports through fromUrl(). Image resizing needs Intervention Image 4 with GD or Imagick, while ZIP downloads need PHP ext-zip.
composer require mattmy/laravel-file-magicStart with the complete documentation or review the source repository.