FilePond server for Craft Assets, based on pqina/filepond-server-php.
This project is in early development. Use at your own risk!
- Add it to your project with with
composer require workingconcept/asset-pond, then install from the control panel GUI orcraft install/plugin asset-pond. - Choose a default Volume for uploads in the plugin Settings.
- Use FilePond on your frontend however you fancy (React, Vue, Angular, or jQuery), using
filepondfor the field name and{{ craft.assetpond.endpoint }}for FilePond'sserversetting. - Optionally provide a different target Volume ID. If your Volume ID is
7, for example, it'd look like{{ craft.assetpond.endpoint(7) }}.
- Enforce upload permissions and use CSRF.
- Support a field name other than just
filepond, since that's a little silly. - Allow for an array of field names.
- Finish and test Server.
- handleFetchRemoteFile()
- handleFilePost()
- handleTransferIdsPost()
- Support variants for smooth integration with Doka or
FilePondPluginImageTransform. - Add civilized documentation.
