el-schneider / statamic-mux-id
A Statamic addon that integrates Mux Video API
Package info
github.com/el-schneider/statamic-mux-id
Type:statamic-addon
pkg:composer/el-schneider/statamic-mux-id
Fund package maintenance!
v0.1.1
2026-06-18 20:11 UTC
Requires
- php: ^8.3
- muxinc/mux-php: ^5.1
- statamic/cms: ^6.0
Requires (Dev)
- laravel/pint: ^1.22
- orchestra/testbench: ^10.0
- pestphp/pest: ^4.0
README
Statamic Mux Id is an addon for Statamic CMS that integrates Mux Video API for effortless video asset handling.
Features
- Automates Mux asset creation on Statamic asset upload.
- Utilizes asynchronous processing for Mux API requests.
- Syncs Mux video asset metadata with Statamic assets.
- Listens to and acts on Mux webhooks for asset events.
How to Install
Search for "Statamic Mux Id" in Tools > Addons in Statamic control panel and click install, or use:
composer require el-schneider/statamic-mux-id
How to Use
- Add env vars
MUX_TOKEN_IDandMUX_TOKEN_SECRET. - Point the webhook in your Mux dashboard to
<yourdomain>/!/statamic-mux-id/listen. - Copy the webhook signing secret from the Mux dashboard and add it as
MUX_WEBHOOK_SECRET.
Unsigned webhooks are still accepted when MUX_WEBHOOK_SECRET is not configured, but signed webhooks are recommended for production.