RepositoryPHPCHThụy Sĩ
NE

nelmio/NelmioApiDocBundle

Generates documentation for your REST API from attributes

2.4ksao
913fork
42issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: api-documentation

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: swagger-php

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: symfony-bundle

#1 Repository Của Tháng

📄 Tự động sinh tài liệu API REST từ PHP attributes

NelmioApiDocBundle sinh tài liệu API dựa trên attributes, không cần viết tay spec.

NelmioApiDocBundle là bundle Symfony phổ biến (2.3k sao) sinh tài liệu API REST tự động từ PHP 8 attributes. Dành cho dự án Symfony cần tài liệu OpenAPI chuẩn, tích hợp sẵn Redoc và Swagger UI.

✨ Điểm nổi bật

  • PHP 8 attributes: Thay thế hoàn toàn annotations, cú pháp hiện đại, type-safe.
  • OpenAPI 3.0+: Sinh spec chuẩn, hỗ trợ đầy đủ schema và validation.
  • Redoc + Swagger UI: Giao diện tài liệu tương tác, cấu hình qua YAML.
  • Symfony 6.4+: Tích hợp sâu với routing, serialization và validation.
  • Cấu hình linh hoạt: Tùy chỉnh model, filters, security qua config.
  • MIT license: Dự án nguồn mở, dễ dàng extend.

💡 Vì sao đáng chú ý

Không giống công cụ sinh docs thủ công, NelmioApiDocBundle đồng bộ code và tài liệu — thay đổi attribute là docs tự cập nhật. Phù hợp team cần tài liệu chuẩn OpenAPI để test contract, generate client SDK, hoặc expose API cho bên thứ ba.


#PHP #Symfony #OpenAPI #Swagger #RESTAPI #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPHP
symfony/symfony

The Symfony PHP framework

31.2k
Oct 20, 2026
RepositoryTypeScript
Redocly/redoc

📘 OpenAPI/Swagger-generated API Reference Documentation

26.0k
Oct 15, 2026
RepositoryPHP
doctrine/DoctrineBundle

Symfony Bundle for Doctrine ORM and DBAL

4.8k
Oct 21, 2026
RepositoryPHP
EasyCorp/EasyAdminBundle

EasyAdmin is a fast, beautiful and modern admin generator for Symfony applications.

4.3k
Oct 22, 2026
RepositoryPHP
doctrine/DoctrineMigrationsBundle

Symfony integration for the doctrine/migrations library

4.3k
Aug 31, 2026
RepositoryPHP
sensiolabs/SensioFrameworkExtraBundle

An extension to Symfony FrameworkBundle that adds annotation configuration for Controller classes

3.3k
Feb 24, 2023
RepositoryPython
fastapi/fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production

104.2k
Oct 23, 2026
RepositoryTypeScript
scalar/scalar

Scalar is an open-source API platform:                                       🌐 Modern REST API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support

16.3k
Oct 25, 2026
RepositoryPython
litestar-org/litestar

Light, flexible and extensible ASGI framework | Built to scale

8.5k
Oct 20, 2026