ddrv/flysystem-macro-sd

flysystem adapter for ddrv/macro-sd

Maintainers

Package info

github.com/ddrv/php-flysystem-macro-sd

pkg:composer/ddrv/flysystem-macro-sd

Fund package maintenance!

www.paypal.me/ddrv

Patreon

Statistics

Installs: 33

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-07 09:03:31 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);