PHPackages                             jasonadriaan/videocloudcms - 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. jasonadriaan/videocloudcms

ActiveLibrary[API Development](/categories/api)

jasonadriaan/videocloudcms
==========================

A simple way to interact with Brightcove's VideoCloud CMS API

0141[2 PRs](https://github.com/jasonadriaan/videocloudcms/pulls)PHP

Since Nov 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jasonadriaan/videocloudcms)[ Packagist](https://packagist.org/packages/jasonadriaan/videocloudcms)[ RSS](/packages/jasonadriaan-videocloudcms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

A simple way to interact with Brightcove's VideoCloud CMS API
=============================================================

[](#a-simple-way-to-interact-with-brightcoves-videocloud-cms-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f34a689784afefdf8f01795a4adf8d2ba57c0c7c8c5fd0bf0857cf9e4aab76c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a61736f6e6164726961616e2f766964656f636c6f7564636d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jasonadriaan/videocloudcms)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ce8af74c95124b6fe9652aadd9e7c89c4e1e00b009397c7f39926ca107753da6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a61736f6e6164726961616e2f766964656f636c6f7564636d732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/jasonadriaan/videocloudcms/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/985390b47e945416c7a4901e80747813abc43c0f434f06f9258d5057266238c4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a61736f6e6164726961616e2f766964656f636c6f7564636d732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/jasonadriaan/videocloudcms/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/fafcbd24b651ed342ca7d0cad5bc93bea87d2a5bca79cb951f26bfe823f7a51f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a61736f6e6164726961616e2f766964656f636c6f7564636d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jasonadriaan/videocloudcms)

This package makes it simple for you to retrieve and update videos on Brightcove VideoCloud's CMS API without having to deal with authentication or repetitive api calls.

Support: Buy me a coffee
------------------------

[](#support-buy-me-a-coffee)

I build and maintain this project in my free time. If it makes your life simpler you can [buy me a coffee](https://buymeacoffee.com/jasonadriaan).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jasonadriaan/videocloudcms
```

You can publish the config file with:

```
php artisan vendor:publish --tag="videocloudcms-config"
```

In your .env file please add the following lines with your API details from Brightcove VideoCloud

```
VIDEOCLOUD_ACCOUNT_ID=xxxxx
VIDEOCLOUD_API_KEY=xxxxx
VIDEOCLOUD_API_SECRET=xxxxx
```

Usage
-----

[](#usage)

I would recommend you go ahead and read the [VideoCloud CMS API documentation](https://apis.support.brightcove.com/cms/index.html) to understand the underlying API.

Updating a Video:

```
use Jasonadriaan\VideoCloudCMS\VideoCloudCMS;

class main extends Controller
{

    public function index(){

        $payload = array(
            'name' => 'Scooby Doo!',
          );

        $videocloud = new VideoCloudCMS();

        /*  Update requires a video id and a payload
        *  eg. update($video_id, $payload)
        */

        $result = $videocloud->update(1234567890, $payload);

        return $result;
    }

}
```

Get a list of videos:

```
use Jasonadriaan\VideoCloudCMS\VideoCloudCMS;

class main extends Controller
{

    public function index(){

        $videocloud = new VideoCloudCMS();

        $result = $videocloud->limit(5)
                            ->offset(2)
                            ->query()
                            ->sort()
                            ->getVideos();

        return $result;
    }

}
```

Get a specific video:

```
use Jasonadriaan\VideoCloudCMS\VideoCloudCMS;

class main extends Controller
{

    public function index(){

        $videocloud = new VideoCloudCMS();

        /* getVideo requires a video id
        *  eg. getVideo($video_id)
        */

        $result = $videocloud->getVideo(1234567);

        return $result;
    }

}
```

Get a count of how many videos are on the system:

```
use Jasonadriaan\VideoCloudCMS\VideoCloudCMS;

class main extends Controller
{

    public function index(){

        $videocloud = new VideoCloudCMS();

        $result = $videocloud->getCount();

        return $result;
    }

}
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jason Adriaan](https://github.com/jasonadriaan)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

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

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")[![jasonadriaan](https://avatars.githubusercontent.com/u/1917436?v=4)](https://github.com/jasonadriaan "jasonadriaan (8 commits)")[![StarXoluMG](https://avatars.githubusercontent.com/u/98212016?v=4)](https://github.com/StarXoluMG "StarXoluMG (2 commits)")

### Embed Badge

![Health badge](/badges/jasonadriaan-videocloudcms/health.svg)

```
[![Health](https://phpackages.com/badges/jasonadriaan-videocloudcms/health.svg)](https://phpackages.com/packages/jasonadriaan-videocloudcms)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M271](/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)
