thedava/dod-lite-flysystem

A flysystem adapter for dod-lite

Maintainers

Package info

github.com/thedava/dod-lite-flysystem

pkg:composer/thedava/dod-lite-flysystem

Statistics

Installs: 2

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-09 23:17:10 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
    )
);