Open-source PHP projects categorized as API | Edit details

Top 23 PHP API Projects

  • swoft

    🚀 PHP Microservice Full Coroutine Framework

    Project mention: Anyone have production examples or prototypes you built in Swoole? | | 2022-03-27
  • Polr

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

    Project mention: Looking For: Simple URL Shortener | | 2022-05-19
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • graphql-php

    A PHP port of GraphQL reference implementation

    Project mention: Shill me on Apollo client. | | 2022-01-25

    Why would I want to use Apollo Client? So far in my career I have used some server graphql scaffolding (webonyx/graphql-php for PHP and mercurius for Node) and just used the fetch API (or whatever ajax API around XMLHttpRequest) against that server with the body being an object with

  • laravel-query-builder

    Easily build Eloquent queries from API requests

  • wp-graphql

    :rocket: GraphQL API for WordPress

    Project mention: Inherited A PHP Mess | | 2022-05-13

    I've run into a similar issue where the company wanted to bring on their Wordpress blog content on one site into their main site. NextJS combined with WPGraphQL did the trick. If you are going the static site generation route the main drawback is having to rebuild and deploy every time a new blog post is made. Could host it on AWS Amplify but I use Netlify and Cloudflare Pages. Take a look through their pricing models and pick whatever feels comfortable for you (still assuming a static site generated setup). In my opinion, NextJS is good enough. If it gets the job done in a reasonable amount of time, pick it. You mention having experience with Vue so maybe Nuxt is a better option?

  • countries-states-cities-database

    🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities

    Project mention: Laravel 9 has been released but should we really start using it? | | 2022-02-09

    Depending on what you need from this package, this might be of help


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

    Project mention: API Development: The Complete Guide for Building APIs Without Code | | 2021-10-13


  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • apiato

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

    Project mention: Trying to making my large app more manageable | | 2021-09-24

    A framework over Laravel for big web app:

  • HWIOAuthBundle

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

    Project mention: g-auth and strange redirect | | 2021-10-22

    Maybe try I've had good success with it.

  • core

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

    Project mention: (API Platform / Swagger) How to create a custom path with multiple methods? | | 2022-05-11

    /api/same-route is a unique identifier. Calling addPath with an existing identifier just overwrites your previous call, see You should call addPath once, and the instance of PathItem class should contain all HTTP methods, see constructor arguments.

  • NelmioApiDocBundle

    Generates documentation for your REST API from annotations

  • core

    OPNsense GUI, API and systems backend (by opnsense)

    Project mention: Multiple NordVPN clients - gateway IP conflict | | 2022-05-21

    I also found this issue on the OPNsense github, which seems to be the exact problem I'm having:

  • L5-Swagger

    OpenApi or Swagger integration to Laravel

    Project mention: Validate your PHP API tests against OpenAPI definitions – a Laravel example | | 2022-03-22

    The second one is L5 Swagger, a popular package bringing Swagger PHP and Swagger UI to Laravel. We actually don't need Swagger PHP here, as it uses Doctrine annotations to generate OpenAPI definitions and we're going to manually write our own instead. We do need Swagger UI, however, and the package conveniently adapts it to work with Laravel (the -W option is simply here to also update related dependencies, to avoid conflicts).

  • Firebase Admin SDK for PHP

    Unofficial Firebase Admin SDK for PHP

  • Negotiation

    Content Negotiation tools for PHP.

  • Fusio

    Open source API management platform

    Project mention: Fusio 3.0 released - Open source, self hosted API management platform | | 2022-04-03
  • Hateoas

    A PHP library to support implementing representations for HATEOAS REST web services.

  • array-to-xml

    A simple class to convert an array to xml

  • Yasumi

    The easy PHP Library for calculating holidays

  • sysPass

    Systems Password Manager

    Project mention: (AYUDA) soft free base de datos de contraseñas y niveles de acceso ? | | 2021-11-29
  • Client

    GitLab API v4 client for PHP (by GitLabPHP)

    Project mention: Top 3 harmful incidents in open-source in 2021 | | 2022-02-06

    I'm referring to GitLabPHP Client related issue. I bet that Graham Campbell had some bad moments because of it.

  • UniFi-API-browser

    Tool to browse data exposed by Ubiquiti's UniFi Controller API

    Project mention: Force provision a USG from the command line? | | 2022-02-02

    The only way I am aware of is the un-official API.

  • UniFi-API-client

    A PHP API client class to interact with Ubiquiti's UniFi Controller API

    Project mention: Wifi captive portal login using G Suite (nonprofit) oauth | | 2022-04-25

    Personally, I have scraped together a custom portal before using the PHP API client - - UniFi passes the MAC address of the device as a GET parameter called 'id'

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). The latest post mention was on 2022-05-21.

PHP API related posts


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

Project Stars
1 swoft 5,461
2 Polr 4,357
3 graphql-php 4,315
4 laravel-query-builder 3,215
5 wp-graphql 3,213
6 countries-states-cities-database 3,088
7 PHP-CRUD-API 3,026
8 apiato 2,639
9 HWIOAuthBundle 2,176
10 core 2,078
11 NelmioApiDocBundle 2,047
12 core 1,988
13 L5-Swagger 1,913
14 Firebase Admin SDK for PHP 1,748
15 Negotiation 1,278
16 Fusio 1,136
17 Hateoas 991
18 array-to-xml 885
19 Yasumi 866
20 sysPass 849
21 Client 848
22 UniFi-API-browser 822
23 UniFi-API-client 808
Find remote jobs at our new job board There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives