PHP API

Open-source PHP projects categorized as API

Top 23 PHP API Projects

  1. Sylius

    Open Source eCommerce Framework on Symfony

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. countries-states-cities-database

    🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, SQLSERVER, MONGODB, SQLITE, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities

    Project mention: Open-Source Database for Countries, States, and Cities in Multiple Formats | news.ycombinator.com | 2024-10-01
  4. aimeos-laravel

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

  5. swoft

    🚀 PHP Microservice Full Coroutine Framework

  6. client

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

    Project mention: Harnessing OpenAI Assistant 2.0 for Named Entity Recognition in PHP/Symfony 7 | dev.to | 2024-12-19

    OpenAI Fine-Tuning Documentation Symfony Messenger Documentation OpenAI PHP Client Library PromptFlow Extension for VS Code

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

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

    SaaSHub logo
  10. laravel-query-builder

    Easily build Eloquent queries from API requests

  11. wp-graphql

    :rocket: GraphQL API for WordPress

  12. PHP-CRUD-API

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

    Project mention: Top 8 Open-Source CRUD Projects with the Most GitHub Stars | dev.to | 2024-09-04

    GitHub https://github.com/mevdschee/php-crud-api GitHub Stars 3.6k Most Recent Update on GitHub 2 months ago Open Source License MIT Number of Active Contributors This Year 1 Acceptance of External PRs Yes Official Website / Documentation /

  13. core

    OPNsense GUI, API and systems backend (by opnsense)

    Project mention: US Weighs Banning TP-Link Routers | news.ycombinator.com | 2024-12-18

    >I'm currently upgrading my home network, trying various options, and one of the headaches is provenance of the equipment.

    If you're concerned about provenance (or even if you're not), I suggest using a general purpose device and rolling your own ala pfSense[0]/OPNSense[1], etc, or just use one of the BSDs or Linux and use native tools or one of the many router/firewall distros[2]

    [0] https://www.pfsense.org/

    [1] https://opnsense.org/

    [2] https://en.wikipedia.org/wiki/List_of_router_and_firewall_di...

  14. map

    PHP arrays and collections made easy

  15. apiato

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

    Project mention: Introduction to APIATO: A Powerful Framework for API Development | dev.to | 2024-05-17
  16. L5-Swagger

    OpenApi or Swagger integration to Laravel

  17. core

    An extensible micro-framework for PHP (by flightphp)

    Project mention: 2025 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, Lumen, and More! | dev.to | 2025-02-27

    Let’s talk about Flight PHP—the micro framework that’s been flapping its wings and stealing the spotlight in 2025! Flight 3 (the latest version) is fast, extensible, and so beginner-friendly it practically hands you a welcome mat. With zero dependencies and a focus on simplicity and power, it’s the framework you didn’t know you needed until now. It can handle tiny one-off projects or complex projects with many requirements. New features like route groups, middleware, dependency injection handlers, and aliases added in 2024 have sent it rocketing past competitors in popularity. It also helps that the framework is 100% unit tested unlike some other competitors!

  18. core

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

  19. Firebase Admin SDK for PHP

    Unofficial Firebase Admin SDK for PHP

  20. HWIOAuthBundle

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

  21. NelmioApiDocBundle

    Generates documentation for your REST API from annotations

  22. saloon

    🤠 Build beautiful API integrations and SDKs with Saloon

  23. Fusio

    Open source API management platform

    Project mention: Show HN: Fusio 5.2 released – open-source API management platform | news.ycombinator.com | 2025-03-09
  24. laravel-fractal

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

  25. laravel-orion

    The simplest way to create REST API with Laravel

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

Log in or Post with

PHP API related posts

  • Show HN: Fusio 5.2 released – open-source API management platform

    1 project | news.ycombinator.com | 9 Mar 2025
  • Driving Smarter Decisions: Using Share Price APIs for Data-Driven Marketing

    1 project | dev.to | 4 Mar 2025
  • How to Build a CRUD API with Laravel for Beginners

    3 projects | dev.to | 4 Mar 2025
  • OPNsense Security Platform

    1 project | news.ycombinator.com | 6 Nov 2024
  • Introducing the SharpAPI Python Client SDK

    1 project | dev.to | 7 Oct 2024
  • SharpAPI Laravel Integration Guide

    2 projects | dev.to | 6 Oct 2024
  • Building a CRUD API with Laravel and Sanctum

    5 projects | dev.to | 4 Oct 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Mar 2025
    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 Sylius 8,154
2 countries-states-cities-database 8,018
3 aimeos-laravel 7,670
4 swoft 5,583
5 client 5,244
6 Polr 5,054
7 graphql-php 4,660
8 laravel-query-builder 4,164
9 wp-graphql 3,697
10 PHP-CRUD-API 3,665
11 core 3,656
12 map 3,517
13 apiato 3,059
14 L5-Swagger 2,739
15 core 2,685
16 core 2,484
17 Firebase Admin SDK for PHP 2,325
18 HWIOAuthBundle 2,291
19 NelmioApiDocBundle 2,249
20 saloon 2,196
21 Fusio 1,919
22 laravel-fractal 1,898
23 laravel-orion 1,555

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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