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

ActiveLibrary

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(3mo ago)156.5k1[4 issues](https://github.com/modmore/Alpacka/issues)MITPHPPHP &gt;7.4.0CI passing

Since Dec 18Pushed 3mo 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 1mo ago

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

50

—

FairBetter than 96% of packages

Maintenance72

Regular maintenance activity

Popularity29

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

118d 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

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[league/container

A fast and intuitive dependency injection container.

86787.8M343](/packages/league-container)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60014.4M62](/packages/mollie-mollie-api-php)[prettus/laravel-validation

Laravel Validation Service

40710.8M52](/packages/prettus-laravel-validation)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)

PHPackages © 2026

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