PHP OpenAPI

Open-source PHP projects categorized as OpenAPI

Top 17 PHP OpenAPI Projects

  1. PHP-CRUD-API

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

  2. SaaSHub

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

    SaaSHub logo
  3. L5-Swagger

    OpenApi or Swagger integration to Laravel

  4. NelmioApiDocBundle

    Generates documentation for your REST API from attributes

  5. scramble

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

  6. 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

  7. Restler

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

  8. janephp

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

  9. laravel-openapi

    Generate OpenAPI specification for Laravel Applications

  10. http-router

    A powerful solution as the foundation of your project.

  11. PSX Framework

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

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

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

  13. openapi-httpfoundation-testing

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

  14. cakephp-swagger-bake

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

  15. tina4-php

    Tina4 PHP composer repository

  16. symfony-json-schema-validation

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

    Project mention: I had to build my own Symfony validation bundle because no existing one fits my requirements | dev.to | 2026-03-11

    Docs: https://outcomer.github.io/symfony-json-schema-validation/

  17. openapi-httpfoundation-testing-laravel-example

    OpenAPI HttpFoundation Testing: a Laravel Example

  18. arazzo-parser

    Parse OpenAPI Arazzo specifications in PHP

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

  • 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 | 9 Jun 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 PHP-CRUD-API 3,738
2 L5-Swagger 2,921
3 NelmioApiDocBundle 2,348
4 scramble 2,102
5 Fusio 2,096
6 Restler 1,380
7 janephp 683
8 laravel-openapi 462
9 http-router 176
10 PSX Framework 171
11 OpenAPI PSR-7 Message (HTTP Request/Response) Validator 168
12 openapi-httpfoundation-testing 120
13 cakephp-swagger-bake 60
14 tina4-php 27
15 symfony-json-schema-validation 14
16 openapi-httpfoundation-testing-laravel-example 3
17 arazzo-parser 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com