PHPackages                             modmore/alpacka - 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. modmore/alpacka

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

modmore/alpacka
===============

Generic MODX service class and collection of utilities, used by the modmore team, but also available for third party developers.

v1.1.0-pl(5mo ago)156.7k1[4 issues](https://github.com/modmore/Alpacka/issues)MITPHPPHP &gt;7.4.0CI passing

Since Dec 18Pushed 5mo ago8 watchersCompare

[ Source](https://github.com/modmore/Alpacka)[ Packagist](https://packagist.org/packages/modmore/alpacka)[ Docs](https://github.com/modmore/Alpacka)[ RSS](/packages/modmore-alpacka/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (17)Used By (0)

modmore/Alpacka
===============

[](#modmorealpacka)

Alpacka by modmore is a base service class for MODX packages, and a (growing) collection of common utilities for MODX packages. It is meant to be included as a composer package.

[![Build Status](https://camo.githubusercontent.com/20d732cfa0bb2123f866f50fbd22c05146e2dcfcec9887b0ae6de9f1591fcdde/68747470733a2f2f636972636c6563692e636f6d2f67682f6d6f646d6f72652f416c7061636b612e7376673f7374796c653d737667)](https://circleci.com/gh/modmore/Alpacka)

To use Alpacka, your base service class will need to extend the `modmore\Alpacka\Alpacka` class. There is a (very) simple example service implementation in tests/Example.php.

The service class includes a Pimple dependency injection container as $class-&gt;services.

[Documentation (work in progress) can be found in the wiki.](https://github.com/modmore/Alpacka/wiki)

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

[](#installation)

`composer require modmore/alpacka`

Contributions are more than welcome
-----------------------------------

[](#contributions-are-more-than-welcome)

To contribute to Alpacka you will first need to install the local dependencies:

`composer install`

Please follow the existing coding style. In particular:

- Array properties and MODX settings are in snake\_case
- Variable, property and method names are in camelCase
- Inline documentation please! At the very least PHPDoc on every method and public properties.

One pull request per feature/improvement/bugfix.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance66

Regular maintenance activity

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~283 days

Recently: every ~880 days

Total

14

Last Release

163d ago

Major Versions

v0.4.0 → v1.0.0-pl2018-01-22

PHP version history (2 changes)v0.0.1PHP &gt;5.3.3

v1.1.0-plPHP &gt;7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0085ccbe62590d6e3ecf3531b4b7f5815bca029095e41c4eb6632313761da54f?d=identicon)[mhamstra](/maintainers/mhamstra)

---

Top Contributors

[![Mark-H](https://avatars.githubusercontent.com/u/312944?v=4)](https://github.com/Mark-H "Mark-H (57 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![hansek](https://avatars.githubusercontent.com/u/378835?v=4)](https://github.com/hansek "hansek (1 commits)")

---

Tags

modmoremodxmodx-packagesmodx-revolutionmodxservicemodmorealpacka

### Embed Badge

![Health badge](/badges/modmore-alpacka/health.svg)

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

###  Alternatives

[getsolaris/laravel-make-service

A MVCS pattern create a service command for Laravel 5+

81173.8k](/packages/getsolaris-laravel-make-service)[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.5k](/packages/prevailexcel-laravel-action-service-trait)

PHPackages © 2026

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