dansup / php-ipfs
A PHP wrapper for the IPFS API server
v0.1.2
2016-07-02 01:19 UTC
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: 6.2.*
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-10-29 04:25:39 UTC
README
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.