marko / filesystem-s3
S3 filesystem driver for Marko Framework
Package info
github.com/marko-php/marko-filesystem-s3
Type:marko-module
pkg:composer/marko/filesystem-s3
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
- aws/aws-sdk-php: ^3.0
- marko/filesystem: 0.0.1
This package is auto-updated.
Last update: 2026-03-25 21:07:19 UTC
README
S3 filesystem driver — stores files in Amazon S3 or any S3-compatible service with URL generation and pre-signed URLs.
Installation
composer require marko/filesystem-s3
This automatically installs marko/filesystem and aws/aws-sdk-php.
Quick Example
use Marko\Filesystem\Manager\FilesystemManager; class MediaService { public function __construct( private FilesystemManager $filesystemManager, ) {} public function upload(string $path, string $contents): void { $this->filesystemManager->disk('s3')->write($path, $contents); } }
Documentation
Full usage, API reference, and examples: marko/filesystem-s3