galiais/flysystem-ipfs

Flysystem adapter for the IPFS.

Maintainers

Package info

github.com/GALIAIS/flysystem-ipfs

pkg:composer/galiais/flysystem-ipfs

Fund package maintenance!

overtrue

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

dev-main 2023-11-22 13:00 UTC

This package is auto-updated.

Last update: 2026-02-22 18:12:51 UTC


README

💾 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