dansup / php-ipfs
A PHP wrapper for the IPFS API server
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 6
Forks: 3
Open Issues: 0
pkg:composer/dansup/php-ipfs
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: 2025-09-29 02:05:59 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.