πŸ‘€ See Sanity in action: Watch product demo now β†’

Hello, Does the PHP library allow for uploading assets. If not, is this on the roadmap? I see the JavaScript library already supports this.

3 replies
Last updated: Feb 1, 2021
Hello,
Does the PHP library allow for uploading assets. If not, is this on the roadmap?
I see the JavaScript library already supports this.
Jan 15, 2021, 11:11 AM
Hi Shane, I'll check with the team πŸ™‚
Jan 15, 2021, 12:12 PM
I think we simply forgot to add it! I've created a PR, but it probably will have to wait until monday to be reviewed and released: https://github.com/sanity-io/sanity-php/pull/10
Thanks for letting us know
πŸ™‚
Jan 16, 2021, 7:57 AM
They're merged and released in v1.5.0 now, documentation in readme:

https://github.com/sanity-io/sanity-php/tree/v1.5.0#upload-an-image-asset-from-local-file
Feb 1, 2021, 4:22 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in