[Go to site: main page, start]

PHP API

Open-source PHP projects categorized as API

Top 23 PHP API Projects

  1. API Platform

    🕸️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

  2. SaaSHub

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

    SaaSHub logo
  3. aimeos-laravel

    Laravel ecommerce package for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce

  4. Sylius

    Headless open-source eCommerce platform on top of PHP/Symfony/API Platform

    Project mention: Sylius – open-source Headless eCommerce Platform | news.ycombinator.com | 2025-10-28
  5. client

    ⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API. (by openai-php)

  6. swoft

    🚀 PHP Microservice Full Coroutine Framework

  7. Polr

    :aerial_tramway: A modern, powerful, and robust URL shortener

  8. graphql-php

    PHP implementation of the GraphQL specification based on the reference implementation in JavaScript

  9. core

    OPNsense GUI, API and systems backend (by opnsense)

    Project mention: How to Turn Anything into a Router | news.ycombinator.com | 2026-03-30

    I’ve been using OpnSense/pfsense [0] for years and would highly recommend it. It has a great automatic update experience, config backups, builtin wireguard tunnels and advanced features like packet filtering options like suricata.

    When I am doing network management on my weekends, I’m so glad I’m not stuck in the Linux terminal learning about networking internals and can instead just go to a webui and configure my router.

    0: https://opnsense.org/

  10. laravel-query-builder

    Easily build Eloquent queries from API requests

  11. map

    PHP arrays and collections made easy

  12. wp-graphql

    :rocket: GraphQL API for WordPress

    Project mention: WordPress, Ghost, Hugo? The great CMS war | dev.to | 2025-08-28

    WPGraphQL GraphQL endpoint for headless setups (yes, it’s legit)

  13. PHP-CRUD-API

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

  14. apiato

    PHP Framework for building scalable API's on top of Laravel.

  15. L5-Swagger

    OpenApi or Swagger integration to Laravel

  16. core

    An extensible micro-framework for PHP (by flightphp)

    Project mention: 2026 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, and More! | dev.to | 2026-01-03

    In conclusion, for 2026, Flight PHP is my top pick—and not just because I maintain it. Its speed, simplicity, and rapid evolution make it the ideal micro framework for everything from hobby projects to production beasts. Slim remains a safe, reliable choice, and F3 is great for feature-rich needs. If you're starting fresh, try Flight v3; the docs are polished, and the community is welcoming. Give it a go or drop in on the Matrix or Discord chat!

  17. core

    The server component of API Platform: hypermedia and GraphQL APIs in minutes (by api-platform)

  18. Firebase Admin SDK for PHP

    Unofficial Firebase Admin SDK for PHP

  19. saloon

    🤠 Build beautiful API integrations and SDKs with Saloon

    Project mention: I built Saloon PHP for Dart — because build_runner shouldn't be the price of clean API calls | dev.to | 2026-02-19

    If you've ever used Saloon PHP, you know the feeling: one class per API, one class per endpoint, everything typed, testable, readable. No magic annotations. No generated files. Just clean OOP.

  20. HWIOAuthBundle

    OAuth client integration for Symfony. Supports both OAuth1.0a and OAuth2.

  21. NelmioApiDocBundle

    Generates documentation for your REST API from attributes

  22. scramble

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

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

  24. laravel-fractal

    An easy to use Fractal wrapper built for Laravel and Lumen applications

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 API discussion

Log in or Post with

PHP API related posts

  • Ask HN: What Are You Working On? (April 2026)

    7 projects | news.ycombinator.com | 14 Apr 2026
  • Build an Unusual Options Activity Scanner With Python and Free Data

    2 projects | dev.to | 15 Apr 2026
  • How to Turn Anything into a Router

    3 projects | news.ycombinator.com | 30 Mar 2026
  • I built Saloon PHP for Dart — because build_runner shouldn't be the price of clean API calls

    2 projects | dev.to | 19 Feb 2026
  • 2026 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, and More!

    1 project | dev.to | 3 Jan 2026
  • Domain Watchdog – Monitoring, Expiration and Backorder

    1 project | news.ycombinator.com | 5 Dec 2025
  • Kea DHCP: Modern, open source DHCPv4 and DHCPv6 server

    3 projects | news.ycombinator.com | 3 Dec 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 20 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 API Platform 9,155
2 aimeos-laravel 8,645
3 Sylius 8,487
4 client 5,803
5 swoft 5,540
6 Polr 5,096
7 graphql-php 4,718
8 core 4,486
9 laravel-query-builder 4,451
10 map 4,301
11 wp-graphql 3,780
12 PHP-CRUD-API 3,735
13 apiato 3,103
14 L5-Swagger 2,921
15 core 2,867
16 core 2,564
17 Firebase Admin SDK for PHP 2,437
18 saloon 2,416
19 HWIOAuthBundle 2,373
20 NelmioApiDocBundle 2,349
21 scramble 2,117
22 Fusio 2,097
23 laravel-fractal 1,910

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

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