Skip to content

ddrv/php-flysystem-macro-sd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ddrv/flysystem-macro-sd

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);

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages