jerowork/graphql-attribute-schema
最新稳定版本:0.6.8
Composer 安装命令:
composer require jerowork/graphql-attribute-schema
包简介
Build your GraphQL schema for webonyx/graphql-php using PHP attributes instead of array-based configuration.
README 文档
README
Build your GraphQL schema for webonyx/graphql-php using PHP attributes instead of array-based configuration.
Why use this library?
The webonyx/graphql-php package requires a schema to run a GraphQL server. Normally, this schema is defined based on array configuration.
This package introduces PHP attributes to configure your GraphQL schema instead. By adding attributes (#[Mutation], #[Query], #[Type], etc.) directly to your classes, this library automatically generates the GraphQL schema for you.
📖 Documentation
The documentation is available on GitHub pages or in the GitHub repository.
There is also an example application using most of the features at https://github.com/jerowork/example-application-graphql-attribute-schema.
统计信息
- 总下载量: 19.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-30