php-ipfs-api
php-ipfs-api copied to clipboard
Added addWithWrap method.
- Use filepath references instead of content when adding files.
- Added error handling.
- Use new curl_file_create method for file uploading (Requires PHP>=5.5)
These are breaking changes.
Although this is a relatively old pull request, I will leave this comment here for people who use this API client. For me, the add method wouldn't work without the curl method being changed to your version. Thanks a lot! :+1: