awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zircote avatar

zircote/swagger-php

0
View on GitHub↗
5,298 Stars·938 Forks·PHP·Apache-2.0·2 Aufrufezircote.github.io/swagger-php↗

Swagger Php

swagger-php ist ein OpenAPI-Spezifikationsgenerator und eine PHP-API-Dokumentationsbibliothek. Sie scannt PHP-Quellcode-Attribute und -Annotationen, um standardisierte Spezifikationsdateien und interaktive API-Referenzen zu erstellen.

Das Tool fungiert als Schema-Inferenz-Engine, die Datentypen und Schemata aus nativen PHP-Type-Hints und generischen Blöcken ableitet. Es verwendet reflexionsbasierte statische Analyse, um Metadaten zu extrahieren, ohne Anwendungslogik auszuführen, und unterstützt rekursive Schema-Vererbung, um Definitionen aus Elternklassen und Interfaces zusammenzuführen.

Das Projekt enthält ein CLI-Utility zum Exportieren von API-Definitionen in statische YAML- oder JSON-Dateien. Es bietet zudem eine Pipeline für die Spezifikationsassemblierung mit pluggbarer Verarbeitungslogik, um zu modifizieren, wie Quellcode analysiert oder strukturiert wird.

Features

  • API Specification Generation - Automatically produces machine-readable API specifications based on endpoint metadata extracted from PHP source code.
  • Metadata Inference - Automatically populates API metadata fields by analyzing native PHP type hints and code structure.
  • Annotation-Driven Specification Generation - Scans source code for metadata markers to automatically generate standardized API specifications.
  • OpenAPI Specification Generators - Generates YAML and JSON OpenAPI specification documents by scanning PHP code attributes and annotations.
  • Automated API Documentation - Generates technical specifications and interactive documentation directly from PHP source code definitions.
  • Schema Inference Engines - Derives API data types and schemas from native PHP type hints and generic blocks.
  • Type-Hint-Based Schema Definitions - Leverages native PHP type hints and generic blocks to automatically define data structures and validation rules.
  • Schema Type Inference - Automatically determines schema types by analyzing native PHP type hints and generic blocks.
  • Complex Type Resolution - Infers detailed data schemas from native PHP type hints and generic blocks to minimize manual configuration.
  • API Documentation Tools - Provides tools for generating and serving standardized API documentation and schema definitions from source code.
  • PHP API Documentation Libraries - Provides a library for creating interactive API references by extracting metadata directly from PHP source code.
  • API Definition Exporters - Converts API metadata extracted from PHP source code into structured formats like JSON and YAML for external use.
  • CLI Specification Exporters - Provides a command-line utility to extract API specifications from source code into static files.
  • Schema Components - Allows defining named entities in a central section and referencing them to prevent duplication in the specification.
  • Schema Inheritance Resolution - Merges annotations from parent classes and interfaces into child schemas to maintain consistent API definitions.
  • Specification Assembly Pipelines - Processes scanned metadata through a sequence of resolution steps to build a final standardized JSON or YAML document.
  • Static Reflection - Inspects PHP code structure and attributes without executing the source code to extract metadata.
  • Attribute Merging from Parent Classes - Merges attribute definitions from parent classes and interfaces into child objects to maintain a consistent definition hierarchy.
  • PHP API Schema Modeling - Defines data structures and reusable components for web interfaces using native PHP type hints and class inheritance.
  • Documentation - Generates OpenAPI documentation for REST APIs.

Star-Verlauf

Star-Verlauf für zircote/swagger-phpStar-Verlauf für zircote/swagger-php

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht zircote/swagger-php?

swagger-php ist ein OpenAPI-Spezifikationsgenerator und eine PHP-API-Dokumentationsbibliothek. Sie scannt PHP-Quellcode-Attribute und -Annotationen, um standardisierte Spezifikationsdateien und interaktive API-Referenzen zu erstellen.

Was sind die Hauptfunktionen von zircote/swagger-php?

Die Hauptfunktionen von zircote/swagger-php sind: API Specification Generation, Metadata Inference, Annotation-Driven Specification Generation, OpenAPI Specification Generators, Automated API Documentation, Schema Inference Engines, Type-Hint-Based Schema Definitions, Schema Type Inference.

Welche Open-Source-Alternativen gibt es zu zircote/swagger-php?

Open-Source-Alternativen zu zircote/swagger-php sind unter anderem: swagger-api/swagger-core — swagger-core is a set of libraries for parsing, generating, and serializing OpenAPI specifications to automate REST… springfox/springfox — Springfox is a Java library that automatically generates OpenAPI-compliant documentation for Spring-based REST… domaindrivendev/swashbuckle.aspnetcore — Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata… springdoc/springdoc-openapi — springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable… flasgger/flasgger — Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated… fern-api/fern — Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted…

Open-Source-Alternativen zu Swagger Php

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Swagger Php.
  • swagger-api/swagger-coreAvatar von swagger-api

    swagger-api/swagger-core

    7,528Auf GitHub ansehen↗

    swagger-core is a set of libraries for parsing, generating, and serializing OpenAPI specifications to automate REST API documentation. It provides tools to read, validate, and transform JSON or YAML specifications into programmable objects, as well as a generator that scans source code and annotations to create formal technical descriptions of an API. The project enables bi-directional specification serialization, allowing in-memory API definitions to be converted between native language objects and structured files. It uses a plugin-based scanning mechanism and annotation-driven generation t

    Javahacktoberfestjavaopen-source
    Auf GitHub ansehen↗7,528
  • springfox/springfoxAvatar von springfox

    springfox/springfox

    5,931Auf GitHub ansehen↗

    Springfox is a Java library that automatically generates OpenAPI-compliant documentation for Spring-based REST services. It scans Spring controller annotations and model classes at runtime to produce machine-readable API specifications, and bootstraps an interactive Swagger UI interface on application startup for browsing and testing documented endpoints. The project provides a migration path from Swagger 2 to OpenAPI 3, replacing legacy annotations and dependencies with OpenAPI 3 equivalents through a starter dependency and configuration change. It integrates with Spring's application contex

    Javajavaoaiopenapi
    Auf GitHub ansehen↗5,931
  • domaindrivendev/swashbuckle.aspnetcoreAvatar von domaindrivendev

    domaindrivendev/Swashbuckle.AspNetCore

    5,492Auf GitHub ansehen↗

    Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata from source code and models to produce standardized OpenAPI specifications and interactive browser interfaces for exploring and testing web APIs. The project integrates a middleware component to serve these specifications and a Swagger UI for interactive API testing directly from a running application. It also provides a command-line exporter to extract specification files from application assemblies for use in CI/CD pipelines. The tool covers a wide range of capabilities in

    C#
    Auf GitHub ansehen↗5,492
  • springdoc/springdoc-openapiAvatar von springdoc

    springdoc/springdoc-openapi

    3,674Auf GitHub ansehen↗

    springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable OpenAPI specifications in JSON and YAML formats. It serves as an integrator that extracts API metadata from Java source code and annotations to automate documentation for Spring-based services. The project distinguishes itself through its ability to aggregate API specifications from multiple remote microservices into a single unified interface and provide multiple visualization options, including Swagger UI and Scalar. It also offers a dedicated plugin for exporting documentatio

    Javajavajson-formatkotlin
    Auf GitHub ansehen↗3,674
  • Alle 30 Alternativen zu Swagger Php anzeigen→