Skip to content

History / FileMediaType

Revisions

  • Enhance docs: add examples and minor fixes Update multiple documentation files with additional examples and small code tweaks: - FileMediaType.md: add examples for category lookup and upload-category validation. - InstallablePackage.md: add manifest generation example and qualify exception usage. - InstallablePackageRecord.md: update APP_PATH to APPLICATION_PATH in examples, add docblocks/comments for methods, and qualify exception usage in example. - RuntimeExtensionInterface.md: add docblocks to register method and include an AI adapter example (Gemini) showing how to register an AI adapter. - UploadedFile.md: add upload error handling example and checksum usage. These are documentation/example improvements and do not change library behavior.

    @viames viames committed Apr 29, 2026
  • Replace Upload helper with UploadedFile Introduce Pair\Http\UploadedFile and Pair\Http\FileMediaType docs, remove legacy Pair\Helpers\Upload, and update documentation references and examples. Examples now use UploadedFile::fromGlobals(), moveTo(), and putToS3(), and MIME categories are served by FileMediaType; related docs (AmazonS3, File, Home, Utilities, Upgrade-to-v4) were adjusted accordingly.

    @viames viames committed Apr 26, 2026