Like a lot of people discovering programming in the early 2000s, PHP was the first programming language I learned. Long before great online resources existed, I had this dusty old thing called a , littered with mystical lines of PHP that I only partially understood. book While usage has been declining, PHP is still the , and we’ve heard your cries loud and clear - you need a PHP SDK. 7th most used language on Github Well, good news! Last week, I dusted off my old PHP book and got to work! 🎉 Just kidding, we generated a shiny new PHP SDK, just for you, because we love you. 😘 is a lightweight wrapper around Mux’s APIs, which make it easy to integrate Mux-powered video experiences into your PHP apps. Mux PHP It’s super easy to ingest some content into your Mux account using Mux PHP - let’s take a look at a simple app which does just that! <?php require_once ; $config = MuxPhp\Configuration::getDefaultConfiguration() ->setUsername(getenv( )) ->setPassword(getenv( )); $assetsApi = MuxPhp\Api\AssetsApi( GuzzleHttp\Client(), $config ); $input = MuxPhp\Models\InputSettings([ => ]); $createAssetRequest = MuxPhp\Models\CreateAssetRequest([ => $input, => [MuxPhp\Models\PlaybackPolicy::PUBLIC_PLAYBACK_POLICY] ]); $result = $assetsApi->createAsset($createAssetRequest); print . $result->getData()->getPlaybackIds()[ ]->getId() . 'vendor/autoload.php' // Authentication Setup 'MUX_TOKEN_ID' 'MUX_TOKEN_SECRET' // API Client Initialization new new // Create Asset Request new "url" "https://storage.googleapis.com/muxdemofiles/mux-video-intro.mp4" new "input" "playback_policy" // Ingest // Print URL "Playback URL: https://stream.mux.com/" 0 ".m3u8\n" Mux PHP is, of course, the latest in the line of our SDKs generated from the OpenAPI definitions of our APIs. We wrote about how we’re building our and some of the challenges we’ve experienced on our blog. Check it out! code-generated SDKs We’ll be releasing even more SDKs over the coming months, but if you have a burning desire for an SDK in a particular language, so we work on what’s most important to you. please get in touch We’re really excited to see what you build using - show us your cool projects via Twitter at . Mux PHP @MuxHQ