Skip to content

Requirements ​

ComponentSupportedNotes
PHP8.2, 8.3, 8.4, 8.5CI runs the test suite on PHP 8.2, 8.3 and 8.4.
Laravel11.x, 12.x, 13.xPackage auto-discovery registers the service provider and the MediaFlow facade.
DatabaseSQLite 3.35+, MySQL 8.0+, PostgreSQL 14+Stores media, folders, variants, upload sessions and settings.
ext-fileinfoRequiredDetects the real MIME type of every upload. Declared in composer.json.
ext-gd with WebPRecommendedNeeded for thumbnails, WebP conversion, EXIF stripping and optimization. Without it, files still upload but no image variants are made.
ext-exifRecommendedKeeps JPEG orientation correct when metadata is stripped.

league/flysystem-aws-s3-v3 is installed with MediaFlow, so the S3-compatible cloud providers work without extra packages.

Image driver

Only the GD driver ships today. MEDIAFLOW_IMAGE_DRIVER=imagick is a reserved value. To use Imagick or another engine, bind your own ImageProcessor; see Extending.

Server limits ​

PHP and your web server must accept files at least as large as MEDIAFLOW_MAX_FILE_SIZE_KB (20 MB by default). Raise these to match:

  • upload_max_filesize and post_max_size in php.ini
  • the request body limit of your web server (for example client_max_body_size in nginx)

The Diagnostics page shows which extensions are available on your server.

Released under the MIT License.