PHPackages                             xaraya/skeleton - 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/skeleton

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

xaraya/skeleton
===============

Skeleton for a new Xaraya module

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

Since Apr 8Pushed 5mo ago2 watchersCompare

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

READMEChangelogDependenciesVersions (15)Used By (1)

Skeleton
========

[](#skeleton)

Skeleton for a new Xaraya module

Version highlights
------------------

[](#version-highlights)

### 1.0.0 Initial version

[](#100-initial-version)

This version aligns with [Xaraya 2.5.0](https://github.com/mikespub/xaraya-core/releases/tag/v2.5.0) and uses traditional user gui and user api functions in `xaruser.php` and `xaruserapi.php`.

The actual module code is in `Xaraya\Modules\Skeleton` classes with DynamicData userapi and usergui traits to support DD out of the box.

This version also supports Twig templates if enabled in Xaraya `html/index.php`:

```
/** un-comment the next line to activate Twig templates */
$context['twig'] = true;
```

### 2.5.3 Module classes via core

[](#253-module-classes-via-core)

This version aligns with [Xaraya 2.5.3](https://github.com/mikespub/xaraya-core/releases/tag/v2.5.3) and uses `xarMod::usergui()` resp. `xarMod::userapi()` to load module classes from the core via the new module class in `module.php`.

### 2.5.5 Align with trait namespaces

[](#255-align-with-trait-namespaces)

This version aligns with [Xaraya 2.5.4](https://github.com/mikespub/xaraya-core/releases/tag/v2.5.4) and uses the `Xaraya\Modules` namespace for module traits.

### 2.6.0 Use module classes directly

[](#260-use-module-classes-directly)

This version aligns with [Xaraya 2.5.5](https://github.com/mikespub/xaraya-core/releases/tag/v2.5.5) and Xaraya core can call the module api, gui and installer class methods directly.

Procedural functions like `skeleton_userapi_getitemtypes()` in xaruserapi.php, xaruser.php or xarinit.php files are **not** needed anymore. This changes from the traditional module structure used since Xaraya 1.x, and allows modules to be developped in a more object-oriented way.

*Note that traditional function files are still supported and will take precedence if available.*

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

Recently: every ~76 days

Total

14

Last Release

154d ago

Major Versions

1.0.0 → 2.5.32025-01-04

### Community

Maintainers

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

---

Top Contributors

[![mikespub](https://avatars.githubusercontent.com/u/1447115?v=4)](https://github.com/mikespub "mikespub (23 commits)")

### Embed Badge

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

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

PHPackages © 2026

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