ecotone-business-interface

Auto-implement Ecotone business interfaces for DBAL queries, repositories, and message sending.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/ecotoneframework/skills --skill ecotone-business-interface
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ecotone-business-interface
Source: https://github.com/ecotoneframework/skills/tree/main/skills/ecotone-business-interface
Command: npx skills add https://github.com/ecotoneframework/skills --skill ecotone-business-interface

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creates a standardized way to define and auto-implement interface-driven gateways and repositories in Ecotone, reducing boilerplate and enabling consistent messaging, data conversion, and DBAL access.

Core Features & Use Cases

  • DBAL Query Interface support with DbalQueryBusinessMethod and DbalWriteBusinessMethod
  • Media Type Converter discovery via Converter
  • BusinessMethod gateway auto-implementation
  • Injection of BusinessMethod into handlers
  • Expression Language support
  • Repository pattern auto-generation

Quick Start

Create a PHP interface for a repository or gateway and annotate methods with Ecotone attributes to auto-generate implementations.

Frequently Asked Questions about ecotone-business-interface

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-implement repository interfaces in PHP to reduce boilerplate?▼

Auto-implementing repository interfaces involves annotating PHP interface methods with Ecotone attributes like DbalQueryBusinessMethod and DbalWriteBusinessMethod, which auto-generate the DBAL access logic and remove manual boilerplate.

What are Ecotone business interfaces and when do I need them?▼

Ecotone business interfaces are gateway abstractions that auto-implement messaging, data conversion, and DBAL access. You need them when building database query interfaces, media type converters, or cross-aggregate gateways in PHP projects.

Can I use expression language parameters in Ecotone DBAL query interfaces?▼

Yes, Ecotone DBAL query interfaces support expression language parameters within annotated methods. This allows dynamic parameter binding when defining DbalQueryBusinessMethod or DbalWriteBusinessMethod attributes on your interface methods.

How do I set up a media type converter in Ecotone?▼

To set up a media type converter, define a PHP interface and annotate its methods with the Ecotone Converter attribute. This auto-discovers and implements the converter gateway to handle data transformation consistently.

Does Ecotone support auto-generating cross-aggregate gateways for message sending?▼

Yes, Ecotone supports auto-generating cross-aggregate gateways for message sending through the BusinessMethod attribute. Applying this annotation to interface methods auto-implements the gateway and allows injection into message handlers.

What is the best way to build database query abstractions in an Ecotone application?▼

The best way to build database query abstractions in an Ecotone application is using annotated PHP interfaces with DbalQueryBusinessMethod attributes, which auto-implement standardized DBAL query gateways and reduce manual data access code.