Skip to content

Symfony bridge #122

@derpixler

Description

@derpixler

API Reference: Symfony Bundle Documentation

A Symfony Bundle that registers ZammadClient in the DI container. Configuration via bundle parameters zammad.url / zammad.token with ZAMMAD_URL / ZAMMAD_TOKEN env fallbacks. Uses an anonymous class implementing ExtensionInterface to keep the bundle self-contained without separate extension/config files.

Acceptance Criteria

  • Extends Symfony\Component\HttpKernel\Bundle\Bundle
  • Returns an ExtensionInterface that registers ZammadClient as a service
  • ZammadClient registered with autowiring — type-hint in any constructor
  • Config via zammad.url / zammad.token parameters with env fallbacks
  • php -l + phpcs PSR-12 clean
  • ≤ 30 lines total
  • Testing: php -l + phpcs — SymfonyBundle compiles, registers ZammadClient in DI container
  • Documentation in README: README — Symfony Bundle setup with env config

Depends on

Produces

  • SymfonyBundle

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions