PHPackages                             cloudinary/analysis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cloudinary/analysis

ActiveLibrary

cloudinary/analysis
===================

Use the Analyze API to analyze any external asset and return details based on the type of analysis requested. Currently supports the following analysis options: \* \[AI Vision - Tagging\](https://cloudinary.com/documentation/cloudinary\_ai\_vision\_addon#tagging\_mode) \* \[AI Vision - Moderation\](https://cloudinary.com/documentation/cloudinary\_ai\_vision\_addon#moderation\_mode) \* \[AI Vision - General\](https://cloudinary.com/documentation/cloudinary\_ai\_vision\_addon#general\_mode) \* \[Google tagging\](https://cloudinary.com/documentation/google\_auto\_tagging\_addon) \* \[Captioning\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#ai\_based\_image\_captioning) \* \[Cld Fashion\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Coco\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Lvis\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Unidet\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Human Anatomy\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Cld Text\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \* \[Shop Classifier\](https://cloudinary.com/documentation/cloudinary\_ai\_content\_analysis\_addon#supported\_content\_aware\_detection\_models) \*\*Notes\*\*: \* The Analyze API is currently in development and is available as a Public Beta, which means we value your feedback, so please feel free to \[share any thoughts with us\](https://support.cloudinary.com/hc/en-us/requests/new). \* The analysis options require an active subscription to the relevant add-on. Learn more about \[registering for add-ons\](https://cloudinary.com/documentation/cloudinary\_add\_ons#registering\_for\_add\_ons). The API supports both Basic Authentication using your Cloudinary API Key and API Secret (which can be found on the Dashboard page of your \[Cloudinary Console\](https://console.cloudinary.com/pm)) or OAuth2 (\[Contact support\](https://support.cloudinary.com/hc/en-us/requests/new) for more information regarding OAuth).

0.1.0(1y ago)08MITPHPPHP ^8.1

Since Jun 16Pushed 1y ago12 watchersCompare

[ Source](https://github.com/cloudinary/analysis-php)[ Packagist](https://packagist.org/packages/cloudinary/analysis)[ Docs](https://cloudinary.com/documentation/analyze_api_reference)[ RSS](/packages/cloudinary-analysis/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Analyze API (Beta) PHP SDK
==========================

[](#analyze-api-beta-php-sdk)

Use the Analyze API to analyze any external asset and return details based on the type of analysis requested.

Currently supports the following analysis options:

- [AI Vision - Tagging](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#tagging_mode)
- [AI Vision - Moderation](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#moderation_mode)
- [AI Vision - General](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#general_mode)
- [Google tagging](https://cloudinary.com/documentation/google_auto_tagging_addon)
- [Captioning](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#ai_based_image_captioning)
- [Cld Fashion](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Coco](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Lvis](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Unidet](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Human Anatomy](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Cld Text](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
- [Shop Classifier](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)

**Notes**:

- The Analyze API is currently in development and is available as a Public Beta, which means we value your feedback, so please feel free to [share any thoughts with us](https://support.cloudinary.com/hc/en-us/requests/new).
- The analysis options require an active subscription to the relevant add-on. Learn more about [registering for add-ons](https://cloudinary.com/documentation/cloudinary_add_ons#registering_for_add_ons).

The API supports both Basic Authentication using your Cloudinary API Key and API Secret (which can be found on the Dashboard page of your [Cloudinary Console](https://console.cloudinary.com/pm)) or OAuth2 ([Contact support](https://support.cloudinary.com/hc/en-us/requests/new) for more information regarding OAuth).

For more information, please visit [https://cloudinary.com/documentation/analyze\_api\_reference](https://cloudinary.com/documentation/analyze_api_reference).

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "require": {
    "cloudinary/analysis": "*"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
