Download the PHP package chrisreedio/laravel-athena-sdk without Composer
On this page you can find all versions of the php package chrisreedio/laravel-athena-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chrisreedio/laravel-athena-sdk
More information about chrisreedio/laravel-athena-sdk
Files in chrisreedio/laravel-athena-sdk
Package laravel-athena-sdk
Short Description Provides an interface to Athena EHR's API
License MIT
Homepage https://github.com/chrisreedio/laravel-athena-sdk
Informations about the package laravel-athena-sdk
Athena EHR API SDK for Laravel
laravel-athena-sdk is a Laravel-first wrapper around Athenahealth's API. It provides a configured connector, resource-style entry points for common API domains, and DTOs for mapping Athena responses into typed PHP objects.
The package is best suited for applications that want a package-native integration layer instead of building raw Saloon requests and response mapping from scratch.
Installation
Publish the package config:
Set the required Athena credentials in your environment:
Configuration
The package currently publishes a config file only. There are no package views or package migrations to publish.
The connector also ships with built-in Athena rate limiting using Saloon's rate-limit plugin. All requests are capped per connector instance to 15 requests per second outside production and 150 requests per second in production. Rate-limit violations fail fast (a RateLimitReachedException will be thrown rather than auto-sleeping and retrying).
The connector authenticates with Athena using the client credentials grant flow and caches the access token under the athena_access_token cache key.
Usage
Instantiate the connector directly:
Or use the facade:
The top-level resources currently exposed by the connector are:
appointments()departments()patients()providers()referringProviders()practice()encounters()
Public API
The supported Laravel-facing wrapper surface is documented in docs/public-api.md.
That document covers:
- the connector and facade entry points
- the resource methods exposed through
AthenaConnector - the nested resource helpers exposed from those top-level resources
Raw request classes under src/Requests are still available for lower-level use, but they are not the primary API documented in this package.
Local Checks
Additional Notes
docs/endpoints.mdtracks endpoint coverage work still to be validated.composer analyseruns cleanly and is enforced in CI alongside tests and formatting checks.
Changelog
See CHANGELOG.md for release history.
Contributing
See CONTRIBUTING.md for local setup and pull request expectations.
Security
See SECURITY.md for how to report vulnerabilities.
License
Released under the MIT license.
All versions of laravel-athena-sdk with dependencies
illuminate/contracts Version ^10.0|^11.0|^12.0
saloonphp/cache-plugin Version ^3.0
saloonphp/laravel-plugin Version ^3.0
saloonphp/pagination-plugin Version ^2.0
saloonphp/rate-limit-plugin Version ^2.0
saloonphp/saloon Version ^3.0
spatie/laravel-package-tools Version ^1.14.0