A PHP wrapper library for the IPFS API server.
composer require dansup/php-ipfs
A limited number of methods are supported at the moment, I hope to add them all eventually.
<?php
use Dansup\IPFS\ServerFactory as IPFS;
$ipfs = IPFS::driver('api')->size('QmeM5KhtRMpgp9JbF2FhJ7qA4yDZKDExGmwgYw9sMdELJE');
echo json_encode($ipfs);
Tests coming soon!
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email danielsupernault@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.