marko/filesystem-s3

S3 filesystem driver for Marko Framework

Maintainers

Package info

github.com/marko-php/marko-filesystem-s3

Type:marko-module

pkg:composer/marko/filesystem-s3

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

0.0.1 2026-03-25 17:53 UTC

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