💾 Flysystem adapter for the IPFS.
- PHP >= 8.0.2
$ composer require "GALIAIS/flysystem-ipfs"
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);
待补充
Adapter extended methods:
待补充
MIT