PHP API

Open-source PHP projects categorized as API

Top 23 PHP API Projects

  • Sylius

    Open Source eCommerce Framework on Symfony

    Project mention: Laravel considered harmful | reddit.com/r/PHP | 2023-04-28

    I think it would be difficult (or much harder) to build something like Sylius on top of Laravel. Especially if you want good code-coverage by tests.

  • swoft

    🚀 PHP Microservice Full Coroutine Framework

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • countries-states-cities-database

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

    Project mention: countries-states-cities-database VS country-state-city - a user suggested alternative | libhunt.com/r/countries-states-cities-database | 2022-08-29
  • Polr

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

    Project mention: Domain shortener for selfhosting gives problems? | reddit.com/r/selfhosted | 2023-05-28
  • graphql-php

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

    Project mention: GraphQLite v6.0 Released - Introducing a more Succinct Syntax | reddit.com/r/PHP | 2022-06-11

    What would be the purpose of defining a schema in "SQL" for an annotation driven schema design? If you want to define your schema GraphQL SQL, you should just use https://github.com/webonyx/graphql-php directly. GraphQLite is built on top of this lib, simply allowing you to define your schema via annotations, then builds out and cache's the SDL for you.

  • laravel-query-builder

    Easily build Eloquent queries from API requests

    Project mention: Need advice on building a filter function for GET Rest API | reddit.com/r/laravel | 2022-10-23

    As u/stu88s pointed out, you should have a look to spatie packages. I extensively use spatie Query Builder and it works really well.

  • wp-graphql

    :rocket: GraphQL API for WordPress

    Project mention: Looking for a plugin/codebase using which I can enter and save data which will then be available via the REST API | reddit.com/r/ProWordPress | 2023-05-23

    I think you might be looking for WPGraphQL

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • PHP-CRUD-API

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

    Project mention: Need something to host a URL that listens for a POST and then talks back to on-prem SQL. | reddit.com/r/sysadmin | 2023-05-10

    For quick dev/arch projects at home, I usually use this: https://github.com/mevdschee/php-crud-api

  • apiato

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

  • client

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

    Project mention: Build a LinkedIn Bio Generator in Laravel using the REST API of OpenAI, Livewire and Tailwind CSS. | dev.to | 2023-05-21

    Also, let’s use the OpenAI PHP library to work with the REST API of OpenAI. This library is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API. We have to install it via composer :

  • core

    OPNsense GUI, API and systems backend (by opnsense)

    Project mention: Router for a 1.5Gbps connection | reddit.com/r/HomeNetworking | 2023-05-28

    One option is Firewalla Gold Plus, or you could buy a mini PC like it and run pfSense/OPNsense yourself.

  • L5-Swagger

    OpenApi or Swagger integration to Laravel

    Project mention: Pragmatic development | dev.to | 2022-10-13

    First, swagger-php generates openapi.yaml based on code attributes, and then the spectator checks API responses to match openapi specification. The popular L5-Swagger is redundant in this case, as it is based on the same swagger-php with the addition of Swagger UI.

  • core

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

    Project mention: Any pro-tips for writing automated tests with Selenium PHP? | reddit.com/r/PHP | 2023-05-02

    For a great setup to use as an example, see https://github.com/api-platform/core. The Behat library config is in behat.yml.dist, the feature files (process descriptions) are in the ./features directory, and the context files (Feature file Steps resolved to Context functions) can be found in ./tests/Behat.

  • HWIOAuthBundle

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

    Project mention: Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)? | reddit.com/r/PHP | 2023-05-21
  • NelmioApiDocBundle

    Generates documentation for your REST API from annotations

  • Firebase Admin SDK for PHP

    Unofficial Firebase Admin SDK for PHP

    Project mention: Overview & Installation Firebase - PHP | dev.to | 2022-09-19

    The source code can be found at https://github.com/kreait/firebase-php

  • Saloon

    Build beautiful API integrations and SDKs with Saloon 🤠

    Project mention: What environment, framework or class would you use to interact with APIs? | reddit.com/r/PHP | 2023-03-17

    For REST APIs I really like Saloon.

  • Negotiation

    Content Negotiation tools for PHP.

    Project mention: PHP Object Calisthenics | reddit.com/r/PHP | 2022-08-02

    It's a joke and William Duran (the blog owner) codes in PHP. He is the author of Geocoder and others libraries (https://github.com/willdurand/Negotiation, https://github.com/willdurand/Hateoas )

  • Fusio

    Open source API management platform

  • laravel-orion

    The simplest way to create REST API with Laravel

    Project mention: Package to speed up api development | reddit.com/r/laravel | 2023-03-30

    Laravel Orion might be worth checking out

  • array-to-xml

    A simple class to convert an array to xml

  • Hateoas

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

    Project mention: PHP Object Calisthenics | reddit.com/r/PHP | 2022-08-02

    It's a joke and William Duran (the blog owner) codes in PHP. He is the author of Geocoder and others libraries (https://github.com/willdurand/Negotiation, https://github.com/willdurand/Hateoas )

  • Yasumi

    The easy PHP Library for calculating holidays

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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 2023-05-28.

PHP API related posts

Index

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

Project Stars
1 Sylius 7,351
2 swoft 5,551
3 countries-states-cities-database 4,924
4 Polr 4,681
5 graphql-php 4,484
6 laravel-query-builder 3,644
7 wp-graphql 3,459
8 PHP-CRUD-API 3,339
9 apiato 2,826
10 client 2,665
11 core 2,422
12 L5-Swagger 2,249
13 core 2,248
14 HWIOAuthBundle 2,213
15 NelmioApiDocBundle 2,130
16 Firebase Admin SDK for PHP 1,936
17 Saloon 1,430
18 Negotiation 1,360
19 Fusio 1,294
20 laravel-orion 1,259
21 array-to-xml 1,008
22 Hateoas 1,004
23 Yasumi 955
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
www.influxdata.com