【文件属性】:
文件名称:php-ipfs:IPFS API服务器PHP包装器
文件大小:10KB
文件格式:ZIP
更新时间:2021-02-03 20:00:21
php ipfs IPFSPHP
php-ipfs
IPFS API服务器PHP包装器库。
安装
composer require dansup/php-ipfs
用法
目前支持的方法数量有限,我希望最终将它们全部添加。
<?php
use Dansup \ IPFS \ ServerFactory as IPFS ;
$ ipfs = IPFS :: driver ( 'api' )-> size ( 'QmeM5KhtRMpgp9JbF2FhJ7qA4yDZKDExGmwgYw9sMdELJE' );
echo json_encode ( $ ipfs );
测验
测试即将推出!
贡献
有关详细信息,请参见“和”。
安
【文件预览】:
php-ipfs-master
----composer.json(836B)
----CONDUCT.md(2KB)
----CONTRIBUTING.md(1KB)
----src()
--------Drivers()
--------Contracts()
--------ServerFactory.php(2KB)
--------Server.php(202B)
--------Utils()
----LICENSE.md(1KB)
----.gitignore(955B)
----circle.yml(34B)
----CHANGELOG.md(226B)
----.styleci.yml(13B)
----README.md(2KB)
----.editorconfig(312B)
----.gitattributes(378B)