Download the PHP package mapkyca/known-ipfs without Composer
On this page you can find all versions of the php package mapkyca/known-ipfs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mapkyca/known-ipfs
More information about mapkyca/known-ipfs
Files in mapkyca/known-ipfs
Package known-ipfs
Short Description Adds IPFS support to Known
License GPL-2.0
Homepage https://www.marcus-povey.co.uk
Informations about the package known-ipfs
Known IPFS Support (experimental)
This plugin adds IPFS file support to Known.
Installation
Step Zero: Install an IPFS server. This is a little bit out of scope, but I used go-ipfs during development.
Once you've done that:
- Download the latest version of Known. I recommend that you either use the GitHub version or the Unofficial packages available from my website.
- Create an IPFS directory in your directory, and copy these files into it.
- Activate it from the Admin panel.
or
Configuration
The IPFS plugin will default to using . If you want to change this, you will need to modify your as follows:
Replace the values accordingly, but make sure you keep the section header.
Known Issues
This software is very much experimental at the moment, but feel free to issues in github.
That said, I know about:
Don't run composer
The plugin makes use of the php-ipfs-api library.
Unfortunately, the version that is currently available via composer has a small bug that corrupts uploaded data, and so I had to fix the error in place.
I have filed an issue with the author, but the composer package is updated to what's currently on github, running a will likely break the plugin.
Still to do
This plugin functionally does not change how files are actually stored - a local object is still created , although the data itself is stored elsewhere.
Could this be done more efficiently? For example, could a direct link be provided? Likely this would require some core hooks - for example a getFileURL() on file objects.
See
- Author: Marcus Povey
All versions of known-ipfs with dependencies
cloutier/php-ipfs-api Version ^0.0.6
composer/installers Version dev-master