PHPackages                             xaraya/messages - 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. xaraya/messages

ActiveXaraya-module[Utility &amp; Helpers](/categories/utility)

xaraya/messages
===============

Xaraya Messages module

2.9.4(5mo ago)0831GPL-2.0-or-laterPHP

Since Apr 15Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/xaraya-modules/messages)[ Packagist](https://packagist.org/packages/xaraya/messages)[ Docs](https://github.com/xaraya-modules/messages)[ RSS](/packages/xaraya-messages/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (10)Used By (1)

Messages Overview
-----------------

[](#messages-overview)

A private messaging module.

Before using this module you must specify who should be permitted to send to whom. This is done in the **Role Groups** fieldset in the Modify Config tab.

### Enable User Settings

[](#enable-user-settings)

To enable User Settings, check the box for "Enable User Settings" in the Modify Config tab and choose the specific settings to enable in the **User Settings**fieldset. Depending on which settings you enable, the following may be configurable by users in their Roles account:

- *Tab to open after sending message* -- Redirect to this tab after sending a message.
- *Email me when I receive a new message* -- Enable email delivery to the user's email address.
- *Enable my autoreply* -- Turn on/off the autoreply.
- *Autoreply text* -- The text of the autoreply.

### Admin Settings

[](#admin-settings)

These settings are available in the **Admin Settings** fieldset:

- *Allow anonymous messages* -- Allow users to send messages anonymously.
- *Strip tags from autoreplies* -- If you do not enable this, and you turn on the "Show template filenames" settings in the themes module, HTML comments will appear in autoreplies. It is recommended that you leave this checked.
- *Default tab to open after send* -- Redirect to this tab after sending a message. The "Tab to open" user setting will override this admin setting.

### How to Create a Link to Message a Specific User

[](#how-to-create-a-link-to-message-a-specific-user)

In these examples, 11 is the user ID of the recipient:

```
##xarController::URL('messages','user','new',array('to_id' => 11))##

```

Optionally, set the 'opt' argument to true if you would like the form to display a userlist dropdown with the value set to the specified user:

```
##xarController::URL('messages','user','new',array('to_id' => 11, 'opt' => true))##

```

If you don't set 'opt' to true, the form will display the recipient's username and pass the user ID in a hidden input.

Depending on context, a link might look something like...

```

        Send a PM to ##xarUser::getVar('name',$uid)##

```

### Message Templates

[](#message-templates)

In the Messages module's xartemplates directory, some default message templates are provided:

- user-email-subject.xt
- user-email-body.xt
- user-autoreply-subject.xt
- user-autoreply-body.xt

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance73

Regular maintenance activity

Popularity9

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~167 days

Recently: every ~76 days

Total

9

Last Release

154d ago

Major Versions

1.9.3 → 2.6.02025-01-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1447115?v=4)[Mike's Pub](/maintainers/mikespub)[@mikespub](https://github.com/mikespub)

---

Top Contributors

[![random777](https://avatars.githubusercontent.com/u/4590892?v=4)](https://github.com/random777 "random777 (81 commits)")[![mikespub](https://avatars.githubusercontent.com/u/1447115?v=4)](https://github.com/mikespub "mikespub (54 commits)")[![mrvdb](https://avatars.githubusercontent.com/u/73067?v=4)](https://github.com/mrvdb "mrvdb (52 commits)")[![CaraesNaur](https://avatars.githubusercontent.com/u/544558?v=4)](https://github.com/CaraesNaur "CaraesNaur (27 commits)")

### Embed Badge

![Health badge](/badges/xaraya-messages/health.svg)

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

###  Alternatives

[spatie/laravel-multitenancy

Make your Laravel app usable by multiple tenants

1.3k2.9M16](/packages/spatie-laravel-multitenancy)[michelf/php-smartypants

PHP SmartyPants

1115.3M30](/packages/michelf-php-smartypants)[leocarmo/circuit-breaker-php

Circuit Breaker for PHP

300447.3k3](/packages/leocarmo-circuit-breaker-php)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

234.5M14](/packages/statamic-stringy)[kore/data-object

Simple base class for data objects.

111.2M7](/packages/kore-data-object)

PHPackages © 2026

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