Skip to content

GALIAIS/flysystem-ipfs

 
 

Repository files navigation

Flysystem Adapter for IPFS

💾 Flysystem adapter for the IPFS.

Requirement

  • PHP >= 8.0.2

Installation

$ composer require "GALIAIS/flysystem-ipfs"

Usage

use League\Flysystem\Filesystem;
use GALIAIS\Flysystem\IPFS\IPFSAdapter;

$gatewayHost = 'http://localhost:8080';
$apiHost = 'http://localhost:5001';

$adapter = new IPFS($this->gatewayHost, $this->apiHost);

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

API

待补充

Adapter extended methods:

待补充

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%