> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devdeia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP SDK for Dolby API

> A PHP wrapper for the Dolby Media API, built on Saloon.

<span className="inline-flex items-center gap-1 rounded-full border border-green-300 bg-green-50 px-3 py-1 text-xs font-semibold text-green-800 dark:border-green-700 dark:bg-green-950 dark:text-green-300">
  ★ Free · Open Source (MIT)
</span>

<p className="mt-3 text-lg text-gray-600 dark:text-gray-300">
  A PHP wrapper for the <a href="https://docs.dolby.io/">Dolby API</a>, covering the Media APIs — enhance, diagnose, analyze, analyze speech, analyze music, and transcode audio/video files.
</p>

<div className="flex flex-wrap gap-2 mt-3">
  <span className="dd-pill rounded-md px-2 py-1 text-xs font-mono">PHP ^8.1</span>
  <span className="dd-pill rounded-md px-2 py-1 text-xs font-mono">saloonphp/saloon ^2.0</span>
</div>

<div className="flex flex-wrap gap-3 mt-4">
  <a href="https://github.com/andreia/php-sdk-dolby-api" className="inline-flex items-center gap-2 rounded-lg bg-[#84C225] px-4 py-2 font-semibold text-white no-underline hover:opacity-90">
    View on GitHub →
  </a>

  <a href="/php/dolby-api-sdk/installation" className="inline-flex items-center gap-2 rounded-lg border border-gray-300 px-4 py-2 font-semibold text-gray-800 no-underline hover:bg-gray-50 dark:border-gray-600 dark:text-gray-100 dark:hover:bg-gray-800">
    Installation
  </a>
</div>

## What it covers

This SDK wraps Dolby's [Media APIs](https://docs.dolby.io/media-apis/docs):

<CardGroup cols={2}>
  <Card title="Enhance" icon="wand-magic-sparkles" href="/php/dolby-api-sdk/usage#enhance-api">
    Clean up noisy or low-quality audio and video.
  </Card>

  <Card title="Diagnose" icon="stethoscope" href="/php/dolby-api-sdk/usage#diagnose-api">
    Get an automated quality report for a media file.
  </Card>

  <Card title="Analyze" icon="chart-line" href="/php/dolby-api-sdk/usage#analyze-api">
    Loudness and quality analysis against a chosen profile.
  </Card>

  <Card title="Analyze Speech / Music" icon="waveform" href="/php/dolby-api-sdk/usage#analyze-speech-and-analyze-music-apis">
    Speech- and music-specific analysis, delivered via webhook.
  </Card>

  <Card title="Transcode" icon="film" href="/php/dolby-api-sdk/usage#transcode-api">
    Convert media between formats and outputs.
  </Card>

  <Card title="Input / Output URLs" icon="link" href="/php/dolby-api-sdk/usage#input-and-output-urls">
    Get signed upload/download URLs for Dolby's storage.
  </Card>
</CardGroup>

<Note>
  Communication APIs and Streaming APIs are planned but not yet implemented — calling `->api('communications')` or `->api('streaming')` isn't available yet, only `->api('media')`.
</Note>

## Requirements

* PHP 8.1+
* A [Dolby.io](https://dashboard.dolby.io/) account and API token
