strata / data
Framework to read data
Installs: 2 347
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 4
Requires
- php: ^8.1
- erusev/parsedown-extra: ^0.8
- laminas/laminas-feed: ^2.22
- league/commonmark: ^2.4
- spatie/yaml-front-matter: ^2.0
- symfony/cache: ^6.4|^7.1
- symfony/http-client: ^6.4|^7.1
- symfony/monolog-bundle: ^3.7
- symfony/property-access: ^6.4|^7.1
- symfony/stopwatch: ^6.4|^7.1
Requires (Dev)
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.5
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.10
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
- PHP 8.1+
- Composer
Installation
Install via Composer:
composer require strata/data:^0.9