laravel-media maintained by net-code
Description
Reusable presigned-S3 file uploads for Laravel — initiate/complete lifecycle, temporary download URLs, and a FileDirectory seam — built with hexagonal ports & adapters.
Last update
2026/07/15 17:30
(dev-main)
License
Downloads
0
net-code/laravel-media
Reusable presigned-S3 file uploads for Laravel — an initiate → complete lifecycle over an
object store, temporary download URLs, and a FileDirectory seam so other modules can reference
files by id. Built with hexagonal ports & adapters.
composer require net-code/laravel-media
php artisan migrate
docs/usage.md— install, config, ports, wiring.docs/flows.md— the upload lifecycle end to end.
v1 scope
Presigned S3 upload (initiate → complete), read + delete, temporary download URLs, the
FileDirectory contract (snapshots + areCompleted) for cross-module reference, and a daily purge
of abandoned (initiated-but-never-completed) uploads. Authentication is host-wired via the
CurrentUser port; storage via the ObjectStorage port (default: Laravel S3 disks).
License
MIT