PHPackages                             corbpie/gumlet-api - 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. [API Development](/categories/api)
4. /
5. corbpie/gumlet-api

ActiveLibrary[API Development](/categories/api)

corbpie/gumlet-api
==================

Gumlet video hosting API wrapper

0.9(2y ago)03MITPHPPHP ^8.2

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cp6/gumlet-api)[ Packagist](https://packagist.org/packages/corbpie/gumlet-api)[ RSS](/packages/corbpie-gumlet-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Gumlet video hosting and streaming API wrapper
==============================================

[](#gumlet-video-hosting-and-streaming-api-wrapper)

### Please note that this package is still in progress!

[](#please-note-that-this-package-is-still-in-progress)

[![Badge](https://camo.githubusercontent.com/027bfd5e54ac7de6e9d1c42c7bb0de04d8ca08a247ed9da1fa69cb46b44158b3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d302e392d626c7565)](https://camo.githubusercontent.com/027bfd5e54ac7de6e9d1c42c7bb0de04d8ca08a247ed9da1fa69cb46b44158b3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d302e392d626c7565)[![Badge](https://camo.githubusercontent.com/cf98626c04fec69b94c6dc6bdc3d3261fea2560b03f5d1c8592ea1cb4113af02/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504850253230382e322d2545322539432539342d627269676874677265656e)](https://camo.githubusercontent.com/cf98626c04fec69b94c6dc6bdc3d3261fea2560b03f5d1c8592ea1cb4113af02/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504850253230382e322d2545322539432539342d627269676874677265656e)

---

Table of contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installing &amp; usage](#installing)
    - [Usage](#usage)
    - [Setting API key](#setting-api-key)
- [Profiles](#list-profiles)
    - [List profiles](#list-profiles)
    - [Set profile](#set-profile)
    - [Get profile](#get-profile)
    - [Create profile](#create-a-profile)
- [Video](#video)
    - [List videos](#list-videos)
    - [Get video details](#get-video-details)
    - [Create from URL](#create-video-from-a-url)
    - [Update thumbnail from frame](#update-thumbnail-from-frame)
    - [Update video title](#update-video-title)
    - [Update video description](#update-video-description)
    - [Delete video](#delete-video)

---

Features
========

[](#features)

Create and update videos &amp; profiles...

---

Installing and Usage
====================

[](#installing-and-usage)

Install with composer:

```
composer require corbpie/gumlet-api

```

Use like:

```
require __DIR__ . '/vendor/autoload.php';

use Corbpie\Gumlet;

$gm = new Gumlet\GumletVideo();
```

#### Setting API key:

[](#setting-api-key)

Line 7 `GumletBase.php`

```
const API_KEY = 'XXXX-XXXX-XXXX';
```

---

Video
=====

[](#video)

---

List Profiles
-------------

[](#list-profiles)

```
 $gm->listProfiles();
```

---

Set Profile
-----------

[](#set-profile)

**Requires $gm-&gt;profile\_id to be set**

```
$gm->profile_id = 'TJQuvxBnOcxQwnPOWc';
```

---

Get Profile
-----------

[](#get-profile)

**Requires $gm-&gt;profile\_id to be set**

```
 $gm->getProfile();
```

---

Create a Profile
----------------

[](#create-a-profile)

```
 $parameters = [
 'description' => 'The description for this new profile',
 'mp4_access' => true
];

 $format = 'HLS';//HLS, MPEG-DASH, MP4

 $gm->createProfile('the-new-profile-name', $format, $parameters);
```

---

List videos
-----------

[](#list-videos)

**Requires $gm-&gt;video\_collection to be set**

```
 $gm->listVideos();
```

---

Get video details
-----------------

[](#get-video-details)

```
 $gm->video_id = '65f1819d759d13a91c0a4c09';

 echo json_encode($gm->getVideo());
```

---

Create video from a URL
-----------------------

[](#create-video-from-a-url)

**Requires $url and $gm-&gt;video\_collection**

```
 $gm->createVideoFromUrl($url, $format, $parameters);
```

*Inputs:*

**Note setting $gm-&gt;profile\_id will override everything except the $url and the collection id**

`string` `$url` The URL to download the video from to use.

`string` `$format` Format for the video encoding "HLS, MPEG-DASH and MP4" ONLY!

`array` `$parameters` Optional values for the video creation:

```
[
'tag'=> 'example, another',
'title'=> 'title to video',
'description'=> 'This video is all about XYZ',
'width'=> '75%',
'height'=> '75%',
'resolution'=> '720p',
'mp4_access'=> true,
'per_title_encoding'=> false,
'process_low_resolution_input'=> true,
'audio_only'=> false,
'enable_drm'=> true
]

```

#### Example for creating a video from URL with multiple audio tracks:

[](#example-for-creating-a-video-from-url-with-multiple-audio-tracks)

```
$parameters = [
    'profile_id' => '65138fa952ccfd817db2a665',
    'title' => 'The title for this great video',
    'description' => 'The description for this great video',
    'mp4_access' => false,
    'audio_only' => false,
    'additional_tracks' => [
        [
            'url' => 'https://gumlet.sgp1.digitaloceanspaces.com/video/sample_1.aac',
            'type' => 'audio',
            'language_code' => 'en',
            'name' => 'English'],
        [
            'url' => 'https://gumlet.sgp1.digitaloceanspaces.com/video/sample_1.aac',
            'type' => 'audio',
            'language_code' => 'pl',
            'name' => 'Polish'
        ]
    ]
];

$video = $gm->createVideoFromUrl(
    'https://domain.com/video.mp4',
    'MP4',
    $parameters
);
```

---

Update thumbnail from frame
---------------------------

[](#update-thumbnail-from-frame)

```
 $gm->video_id = '65f1819d759d13a91c0a4c09';

 $frame = 20;
 $gm->updateVideoThumbnailFromFrame($frame);
```

---

Update video title
------------------

[](#update-video-title)

```
 $gm->video_id = '65f1819d759d13a91c0a4c09';

 $gm->updateVideoTitle('The new title for this video');
```

---

Update video description
------------------------

[](#update-video-description)

```
 $gm->video_id = '65f1819d759d13a91c0a4c09';

 $gm->updateVideoDescription('The new description for this video');
```

---

Delete video
------------

[](#delete-video)

```
 $gm->video_id = '65f1819d759d13a91c0a4c09';

 $gm->deleteVideo();
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

794d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d10a4771b8a6b05a8892e38d902bd35e3f05b0009b58360edf158cda1b1c221b?d=identicon)[corbpie](/maintainers/corbpie)

---

Top Contributors

[![cp6](https://avatars.githubusercontent.com/u/9095402?v=4)](https://github.com/cp6 "cp6 (32 commits)")

---

Tags

apigumletstreamingvideo

### Embed Badge

![Health badge](/badges/corbpie-gumlet-api/health.svg)

```
[![Health](https://phpackages.com/badges/corbpie-gumlet-api/health.svg)](https://phpackages.com/packages/corbpie-gumlet-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
