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. Learn more →
Top 23 PHP API Projects
-
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.
-
-
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 -
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-11What 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.
-
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.
-
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
-
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
-
-
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-21Also, 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 :
-
One option is Firewalla Gold Plus, or you could buy a mini PC like it and run pfSense/OPNsense yourself.
-
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.
-
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.
-
Project mention: Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)? | reddit.com/r/PHP | 2023-05-21
-
-
The source code can be found at https://github.com/kreait/firebase-php
-
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.
-
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 )
-
-
Laravel Orion might be worth checking out
-
-
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 )
-
-
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.
PHP API related posts
- Router for a 1.5Gbps connection
- Where to start
- Bi-Weekly /r/Technology Tech Support / General Discussion Thread. Have you a tech question or want to discuss tech?
- VPN for network filtering
- OPNsense 23.1.8 released
- Looking for Guidance and Advice
- Build a LinkedIn Bio Generator in Laravel using the REST API of OpenAI, Livewire and Tailwind CSS.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 1 Jun 2023
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 |