PHPackages                             valota/my-content-client - 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. valota/my-content-client

ActiveLibrary[API Development](/categories/api)

valota/my-content-client
========================

A PHP client for Valotalive digital signage My Content API.

1.1.0(3y ago)110MITPHPPHP &gt;=7.1

Since Jan 5Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Valota/my-content-client-php)[ Packagist](https://packagist.org/packages/valota/my-content-client)[ RSS](/packages/valota-my-content-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

[![Valotalive Logo](https://camo.githubusercontent.com/66b5158d0dadb45179f385c68c85921c0e2d99785e05be9c75b5cb5e2e21daf3/68747470733a2f2f73746f72652e76616c6f74616c6976652e636f6d2f696d672f76616c6f74616c6976655f6c6f676f2e706e67)](https://camo.githubusercontent.com/66b5158d0dadb45179f385c68c85921c0e2d99785e05be9c75b5cb5e2e21daf3/68747470733a2f2f73746f72652e76616c6f74616c6976652e636f6d2f696d672f76616c6f74616c6976655f6c6f676f2e706e67)

Valotalive - PHP Client for My Content API
==========================================

[](#valotalive---php-client-for-my-content-api)

This is a helper library for [Valotalive](https://valota.live) Digital Signage [My Content API](https://github.com/Valota/my-content-api). You have to have at least one [My Content](https://valota.live/apps/my-content/) activated in our system to use this library.

Requirements
------------

[](#requirements)

See *require* from [composer.json](composer.json)

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

[](#installation)

Use [Composer](https://getcomposer.org/)
`composer require valota/my-content-client`

Usage
-----

[](#usage)

```
// Initialize your client
$myClient = new Valota\MyContentAPI\Client(_API_KEY, _API_SECRET);

// get basic information
$response =$myClient->information();

// Post
$postMessage = new Valota\MyContentAPI\PostMessage();
$postMessage->setTitle('Title');
$postMessage->setMessage('Message');
$postMessage->setMedia('/path/to/image.or.video.jpg');
$postMessage->setDisplayTime(10); //seconds
$postMessage->setSchedule([["from"=>1670615272, "to"=>1680615273]]);
// All are optional, but post has to have at least one of title, message or media.
$response = $myClient->post($postMessage);
//$response will be id of the new message. e.g. 123

// Edit
$editMessage = new Valota\MyContentAPI\EditMessage(174);
$editMessage->setTitle('Edited title'); // empty string unsets
$editMessage->setMessage('Edited message'); // empty string unsets
$editMessage->setDisplayTime(0); // 0 unsets
$postMessage->setSchedule([]); // empty array unsets
// All are optional. Only changes the values that are set.
$response = $myClient->edit($editMessage);

// List all messages
$response =$myClient->list($archive = false, $page = null);

// Get one message
$response =$myClient->get($message_id);

// Archive a message
$response =$myClient->archive($message_id);

// Restore a message from the archive
$response =$myClient->restore($message_id);

// Delete a message permanently
$response =$myClient->delete($message_id);
```

> API description has more detailed information about responses and arguments at

Links
-----

[](#links)

- **Valotalive**:
- **My Content Channel**:
- **My Content API description**:

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Every ~409 days

Total

3

Last Release

1136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffe7368bf318de9f810ff05b312d788802c684311f146dff0fd8634505b8641f?d=identicon)[jukka.korpelainen](/maintainers/jukka.korpelainen)

---

Top Contributors

[![jukkakorpelainen](https://avatars.githubusercontent.com/u/7438869?v=4)](https://github.com/jukkakorpelainen "jukkakorpelainen (6 commits)")

---

Tags

api-clientdigital-signagemy-content-apiphpphp-clientvalotavalotalive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/valota-my-content-client/health.svg)

```
[![Health](https://phpackages.com/badges/valota-my-content-client/health.svg)](https://phpackages.com/packages/valota-my-content-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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