zestic/webonyx-middleware-component 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zestic/webonyx-middleware-component

最新稳定版本:0.1.0

Composer 安装命令:

composer require zestic/webonyx-middleware-component

包简介

Laminas framework integration for webonyx-psr15-middleware

README 文档

README

Test codecov License

This library provides Laminas framework integration for the webonyx-psr15-middleware package.

Requirements

  • PHP 8.3 or higher
  • Composer

Installation

composer require zestic/webonyx-middleware-component

Usage

  1. Register the module in your Laminas application:
// config/modules.config.php
return [
    'WebonyxMiddleware',
    // ... other modules
];
  1. Configure your GraphQL schema and middleware:
// config/autoload/graphql.global.php
return [
    'graphql' => [
        'schema' => [
             // Look in webonyx-psr15-middleware for configuration
        ],
        'context' => [
            // Your context factory
        ],
        'debug' => true, // Enable in development
    ],
];

Testing

Run the test suite:

composer test

Run static analysis:

composer stan

Run code style checks:

composer cs-check

Fix code style issues:

composer cs-fix

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

统计信息

  • 总下载量: 1.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2025-07-25