ddrv/flysystem-macro-sd

flysystem adapter for ddrv/macro-sd

Fund package maintenance!
www.paypal.me/ddrv
Patreon

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ddrv/flysystem-macro-sd

v1.0.0 2022-08-07 01:15 UTC

This package is auto-updated.

Last update: 2025-10-07 08:09:14 UTC


README

league/flysystem adapter for ddrv/macro-sd

Install

Install this library, your favorite psr-18 and psr-7 implementation

composer require ddrv/flysystem-macro-sd:^1.0

Usage

<?php

/**
 * @var \Psr\Http\Client\ClientInterface $httpCLient
 * @var \Psr\Http\Message\RequestFactoryInterface $requestFactory
 * @var \Psr\Http\Message\StreamFactoryInterface $streamFactory
 */

$adapter = new \Ddrv\Flysystem\MacroSd\MacroSdAdapter(
    $httpCLient,
    $requestFactory,
    $streamFactory,
    'https://your-macro-sd.host',
    'macro-sd-user',
    'macro-sd-password',
);

$filesystem = new \League\Flysystem\Filesystem($adapter);