PHP OpenAPI

Open-source PHP projects categorized as OpenAPI

Top 23 PHP OpenAPI Projects

  1. API Platform

    πŸ•ΈοΈ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. PHP-CRUD-API

    Single file PHP script that adds a REST API to a SQL database

  4. L5-Swagger

    OpenApi or Swagger integration to Laravel

  5. NelmioApiDocBundle

    Generates documentation for your REST API from attributes

  6. scramble

    Modern Laravel OpenAPI (Swagger) documentation generator. No PHPDoc annotations required.

  7. Fusio

    Self-Hosted API Management for Builders

    Project mention: Ask HN: What Are You Working On? (February 2026) | news.ycombinator.com | 2026-02-08

    Hey HN, I am currently working on three main projects:

    https://www.fusio-project.org

  8. Restler

    Zero-boilerplate REST API framework for PHP 8+. Auto-generates routes, docs, validation.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. janephp

    :seedling: Jane is a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs

  11. laravel-openapi

    Generate OpenAPI specification for Laravel Applications

  12. PSX Framework

    PSX is an innovative PHP framework dedicated to build fully typed REST APIs.

  13. OpenAPI PSR-7 Message (HTTP Request/Response) Validator

    It validates PSR-7 messages (HTTP request/response) against OpenAPI specifications (by lezhnev74)

  14. http-router

    A powerful solution as the foundation of your project.

  15. openapi-httpfoundation-testing

    Validate your HttpFoundation requests and responses against OpenAPI (3+) definitions

  16. cakephp-swagger-bake

    Automatically generate OpenAPI, Swagger, and Redoc documentation from your existing CakePHP code.

  17. tina4-php

    Tina4 PHP composer repository

  18. symfony-json-schema-validation

    Powerful JSON Schema validation for Symfony 7.4+/8+ with automatic OpenAPI documentation generation

    Project mention: Six Months Later, the Bundle Is Still Alive | dev.to | 2026-09-03

    So, it's been half a year since the first stable version of Symfony JSON Schema Validation Bundle was released, which turned out to be version 3.

  19. gesso

    Gesso β€” OpenAPI 3.0/3.1/3.2 contract testing for PHP. Framework-independent core with Laravel, Symfony, Pest, and PSR-7 adapters. PHPUnit coverage, request/response validation, fuzzing, and drift detection.

    Project mention: Contract testing a Symfony API with OpenAPI | dev.to | 2026-07-27

    git clone https://github.com/studio-design/gesso.git cd gesso/examples/symfony composer install composer test

  20. symfony-jsonrpc-api-bundle

    Spec-conformant JSON-RPC 2.0 server for Symfony: methods declared by attribute, request DTOs validated and hydrated for you, batch requests, DoS limits, CORS and OpenAPI generation.

    Project mention: How to upload a file over JSON-RPC, when JSON has no type for a file | dev.to | 2026-08-18

    The bundle: github.com/OtezVikentiy/symfony-jsonrpc-api-bundle. Questions and ideas in Discussions, bugs in Issues. As this story shows, a good issue sometimes turns into a feature - feedback of any kind is welcome.

  21. openapi-httpfoundation-testing-laravel-example

    OpenAPI HttpFoundation Testing: a Laravel Example

  22. arazzo-parser

    Parse OpenAPI Arazzo specifications in PHP

  23. laravel-openapi

    Generate an OpenAPI 3.1 document from your existing Laravel routes. Schemas are read from typed request DTOs (Spatie Data or FormRequest), typed return values, PHPDoc summaries, and auth/scope middleware. A bundled linter (openapi:lint) reports documentation gaps. (by Radiergummi)

    Project mention: Ask HN: What are you working on? (June 2026) | news.ycombinator.com | 2026-06-14

    An API documentation generator for Laravel apps: https://github.com/Radiergummi/laravel-openapi

    In contrast to most other libraries in this space, it knows about Laravel conventions and its ecosystem, and tries to infer as much as possible without explicit annotations, using type hints and doc comments and static analysis.

  24. NENE2

    JSON APIs first Β· OpenAPI 3.1 author Β· MCP catalog Β· PHP 8.4 micro-framework for AI-readable services.

    Project mention: MCP should not mean letting AI touch your database | dev.to | 2026-06-25

    NENE2: https://github.com/hideyukiMORI/NENE2

  25. nene-records

    Headless CMS on NENE2 β€” typed entities, React admin, OpenAPI 3.1, 60+ MCP tools, multi-tenant JWT. M9 complete.

    Project mention: I am building self-hosted business tools for small teams in Japan | dev.to | 2026-06-30

    NeNe Records: https://github.com/hideyukiMORI/nene-records

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP OpenAPI discussion

Log in or Post with

PHP OpenAPI related posts

  • Six Months Later, the Bundle Is Still Alive

    1 project | dev.to | 3 Sep 2026
  • I had to build my own Symfony validation bundle because no existing one fits my requirements

    2 projects | dev.to | 11 Mar 2026
  • Scramble 0.11.0 – Laravel API docs generator update: Laravel Data support, enforcing schema types, inference improvements

    1 project | dev.to | 4 Jul 2024
  • Scramble 0.6.0 - An update of Laravel OpenAPI docs generator that works without PHPDoc annotations

    3 projects | /r/laravel | 20 Nov 2022
  • Pragmatic development

    6 projects | dev.to | 13 Oct 2022
  • Can you guys recommend a secure and fast framework for creating a REST API?

    5 projects | /r/PHP | 15 Jan 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Oct 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

What are some of the best open-source OpenAPI projects in PHP? This list will help you:

# Project Stars
1 API Platform 9,187
2 PHP-CRUD-API 3,735
3 L5-Swagger 2,938
4 NelmioApiDocBundle 2,369
5 scramble 2,216
6 Fusio 2,118
7 Restler 1,385
8 janephp 692
9 laravel-openapi 461
10 PSX Framework 172
11 OpenAPI PSR-7 Message (HTTP Request/Response) Validator 168
12 http-router 166
13 openapi-httpfoundation-testing 120
14 cakephp-swagger-bake 60
15 tina4-php 28
16 symfony-json-schema-validation 20
17 gesso 10
18 symfony-jsonrpc-api-bundle 8
19 openapi-httpfoundation-testing-laravel-example 3
20 arazzo-parser 2
21 laravel-openapi 1
22 NENE2 1
23 nene-records 0

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that PHP is
the 13th most popular programming language
based on number of references?