PHPackages                             universityofhelsinki/mece - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. universityofhelsinki/mece

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

universityofhelsinki/mece
=========================

This library provides ability to build message objects for Universify of Helsinki Message Center

v1.1.1(8y ago)118GPL-3.0-onlyPHP &gt;=5.5.0

Since May 24Compare

[ Source](https://github.com/universityofhelsinki/mece-php)[ Packagist](https://packagist.org/packages/universityofhelsinki/mece)[ Docs](http://www.helsinki.fi)[ RSS](/packages/universityofhelsinki-mece/feed)WikiDiscussions Synced 2w ago

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

Archived 21.2.2023 as deprecated &amp; not being developed
----------------------------------------------------------

[](#archived-2122023-as-deprecated--not-being-developed)

MECE PHP Library
================

[](#mece-php-library)

Offers an PHP library for preparing an message for Message Center (MECE) maintained by Center for Information Technology (University of Helsinki).

License: [GPLv3](LICENSE.txt)

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

[](#installation)

Install composer

```
curl -sS https://getcomposer.org/installer | php
```

Get package to your directory

```
php composer.phar require universityofhelsinki/mece:v1.1.1
```

Usage with Guzzle
-----------------

[](#usage-with-guzzle)

```
use UniversityofHelsinki\MECE\NotificationMessage;
use UniversityofHelsinki\MECE\MultilingualStringValue;
use GuzzleHttp\Client;

$recipients = ['matti', 'liisa'];
$source = 'serviceXY';
$message = new NotificationMessage($recipients, $source);

// Set heading for all three default languages
$heading = new MultilingualStringValue();
$heading->setValue('Viesti', 'fi');
$heading->setValue('Message', 'en');
$heading->setValue('Meddelande', 'sv');
$message->setHeading($heading);

$client = new Client();
$host = 'https://www.example.com';
$response = $client->request('POST', $host, ['body' => $message->export()]);
if ($response->getStatusCode() == 200) {
  echo 'Done!';
}
```

Projects that uses this library
-------------------------------

[](#projects-that-uses-this-library)

- [University of Helsinki, MECE Drupal 7 module](https://github.com/UH-StudentServices/uh-mece/tree/7.x-1.x)

Questions
---------

[](#questions)

Please post your question to

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~163 days

Total

5

Last Release

3082d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6229562?v=4)[University of Helsinki](/maintainers/UniversityofHelsinki)[@UniversityofHelsinki](https://github.com/UniversityofHelsinki)

---

Top Contributors

[![jpurma](https://avatars.githubusercontent.com/u/5269272?v=4)](https://github.com/jpurma "jpurma (1 commits)")

---

Tags

messaginguniversitymece

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/universityofhelsinki-mece/health.svg)

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

###  Alternatives

[cmgmyr/messenger

Simple user messaging tool for Laravel

2.6k2.6M6](/packages/cmgmyr-messenger)[jcbrand/converse.js

Browser based XMPP instant messaging client

3.3k156.8k](/packages/jcbrand-conversejs)[musonza/chat

Chat Package for Laravel

1.2k286.3k1](/packages/musonza-chat)[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[jobcloud/php-kafka-lib

Jobcloud PHP Kafka library

59612.4k7](/packages/jobcloud-php-kafka-lib)[simple-bus/asynchronous

Generic classes and interfaces for asynchronous messaging using SimpleBus

241.6M6](/packages/simple-bus-asynchronous)

PHPackages © 2026

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