Our great sponsors
-
janephp
:seedling: Jane is a set of libraries to generate Models & API Clients based on JSON Schema / OpenAPI specs
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If the APIs you have to use have an OpenAPI specs you can une the following library to generate your interfaces: https://github.com/janephp/janephp
Guzzle for the actual connection. Get back JSON. Use https://github.com/Crell/Serde to map that JSON into classed objects. Do as you will with the objects. (You can also do the same the other way around to create a message object with all the type safety and builder functionality you want, Serde it to JSON/array, and then send the message through Guzzle.)
For REST APIs I really like Saloon.
Successor: https://github.com/spatie/laravel-data
Related posts
- VSCode for PHP and Laravel
-
laravel-json-api alternatives - laravel-query-builder, laravel-fractal, and laravel
4 projects | 14 Jul 2023
- openapi-generator vs janephp?
- Does a generic third party api connector package exist? A swiss army knife for connecting to various apis?
- Anyone ever built their ETL process in a PHP framework (Laravel?) or similar?