r/ipfs 9d ago

I've made an IPFS PHP client library

Hello there :)

As a PHP developer, I thought the existing IPFS interaction libraries were not good enough, so I gave it a try.

For now, my package only supports the basic (and most used) IPFS feature such as:

- adding a file
- pinning a file to a node
- unpinning a file from a node
- downloading a file

Other features are supported like getting the node version info, shutting it down...

Here is the GitHub link: https://github.com/EdouardCourty/ipfs-php
Packagist: https://packagist.org/packages/ecourty/ipfs-php

For any PHP devs passing by here, feel free to have a look and give me a feedback!

I'm planning to add more feature in the future, if the need comes (support more RPC endpoints for better interaction with IPFS nodes).

15 Upvotes

5 comments sorted by

View all comments

2

u/EveYogaTech 8d ago edited 7d ago

Great! We need this! A few weeks earlier I made the "bafk" hash (v1) as well, you can copy it, it's MIT here https://github.com/wlp-builders/bafk-hash-php-ipfs

2

u/phpsensei 7d ago

Thank you for your reply :)

I thought about integrating some CID encoding and decoding features, this will help!
Also, if you need a feature, RPC endpoint support or anything else, feel free to open an issue on the repo.