thedava/dod-lite-flysystem

A flysystem adapter for dod-lite

Installs: 2

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/thedava/dod-lite-flysystem

v0.1.0 2024-08-09 19:56 UTC

This package is auto-updated.

Last update: 2025-10-09 22:22:55 UTC


README

.github/workflows/tests.yml

A Flysystem adapter for dod-lite

Installation

via Composer

composer require thedava/dod-lite-flysystem

Flysystem

The FlysystemAdapter uses the League\Flysystem to provide a simple way to store data. The usage is pretty simple:

// Use your flysystem instance (e.g. with a LocalFilesystemAdapter)
$flysystem = new \League\Flysystem\Filesystem(
    new \League\Flysystem\Local\LocalFilesystemAdapter(
       '/path/to/your/storage'
    )
);

// Store data locally in files using your flysystem instance
$documentManager = new \DodLite\DocumentManager(
    new \DodLite\Extension\Flysystem\Adapter\FlysystemAdapter(
        $flysystem
    )
);