Download the PHP package dollieai/wp-sdk without Composer
On this page you can find all versions of the php package dollieai/wp-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dollieai/wp-sdk
More information about dollieai/wp-sdk
Files in dollieai/wp-sdk
Package wp-sdk
Short Description Dollie Integrations SDK - Manifest-first integration framework for WordPress automations
License MIT
Informations about the package wp-sdk
Dollie SDK
Manifest-first integration framework for WordPress automations
Overview
The Dollie SDK is a modern PHP 8.2+ framework for building WordPress integration automations. It provides base classes, attributes, and controllers that enable developers to create custom integrations with triggers and actions. The SDK uses a manifest-first architecture where metadata is generated at build time and consumed by external systems (like Laravel) without runtime code execution.
Features
- PHP 8 Attributes: Modern, type-safe metadata definition for integrations, triggers, and actions
- Base Classes:
BaseIntegrationandAutomateActionabstract classes for building integrations - Controllers:
IntegrationsControllerandAutomationControllerfor runtime management - Singleton Trait: Ready-to-use
SingletonLoadertrait for class instances - Manifest Generation: Automated JSON metadata export
- Docker Development: Complete Docker-based development environment
- CI/CD Ready: Automated builds and validation
Installation
Requirements: PHP 8.2+
Quick Start
Creating a Custom Integration
Creating a Trigger
Creating an Action
SDK Structure
The SDK provides the following components:
Manifest Generation
Plugins that use this SDK can generate manifests by scanning classes with SDK attributes. The generated manifest structure:
The SDK includes manifest generation scripts in scripts/ that can be adapted for your plugin.
Architecture
This SDK follows a manifest-first approach:
- Build Time: Attributes are scanned and converted to JSON manifest
- Distribution: Manifest files are published as artifacts
- Consumption: External systems (Laravel) import manifest metadata
- Runtime: Controllers manage integration registration and trigger execution
Development
Running Tests
Available Make Commands
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
License
MIT License - see LICENSE file for details.
Links
All versions of wp-sdk with dependencies
ext-json Version *