strata/data

Framework to read data

v0.9.0 2024-06-24 20:40 UTC

This package is auto-updated.

Last update: 2024-10-30 14:57:14 UTC


README

A simple way to manage data retrieval from APIs and other sources. This package is built using Symfony components and can be used with any PHP application, Symfony, Laravel or plain PHP.

You can:

  • Read data from REST and GraphQL APIs
  • Authenticate with APIs
  • Handle errors consistently
  • Cache requests to increase performance
  • Decode data from a variety of formats (e.g. JSON, Markdown)
  • Transform data (e.g. map a category name)
  • Work out if data has changed since the last request

See the documentation for more.

You can use this with the frontend package to help you build a frontend website.

Status

Please note this software is in development, usage may change before the 1.0 release.

Requirements

Installation

Install via Composer:

composer require strata/data:^0.9

Thanks to