Alpacka
Base service class for MODX packages including common utilities, available via composer as `modmore/alpacka`
Install / Use
/learn @modmore/AlpackaREADME
modmore/Alpacka
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.
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->services.
Documentation (work in progress) can be found in the wiki.
Installation
composer require modmore/alpacka
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.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
