dansup/php-ipfs

A PHP wrapper for the IPFS API server

v0.1.2 2016-07-02 01:19 UTC

This package is auto-updated.

Last update: 2024-11-29 04:43:15 UTC


README

Latest Version on Packagist Software License Total Downloads

A PHP wrapper library for the IPFS API server.

Installation

composer require dansup/php-ipfs

Usage

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

Testing

Tests coming soon!

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email danielsupernault@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.