clubdeuce / tessitura
A PHP wrapper for the Tessitura API
0.1.2
2026-10-01 17:00 UTC
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.9
- monolog/monolog: ^3.7
- php-di/php-di: ^6.4 || ^7.0
- predis/predis: ^2.3
Requires (Dev)
- consolidation/robo: ^5.1
- friendsofphp/php-cs-fixer: ^3.40
- mockery/mockery: ^1.6
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.4
- squizlabs/php_codesniffer: ^3.8
- vlucas/phpdotenv: ^5.6
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-01 17:08:23 UTC
README
A PHP library for the Tessitura API.
This is not an exhaustive implementation, but rather a subset of functionality necessary to implement projects for past and present clients. Functionality is added on an as-needed basis, but contributions are welcome.
Architecture Overview
The codebase has two request paths:
- Modern container-backed path:
Container->Api-> resource classes insrc/Resources/ - Legacy direct-client path:
Seasonsand related classes that call Guzzle directly
For new work, prefer the container-backed path. src/Resources/Performances.php is the canonical pattern.
Project Structure
Key directories:
src/Base/- hydration layer and lightweight service containersrc/Helpers/- HTTP API helper and request behaviorsrc/Resources/- resource services and resource objectssrc/Cache/- cache implementations (ArrayCache,RedisCache)src/Interfaces/- API, cache, logger, and resource contractstests/unit/andtests/integration/- test suitesdocs/- developer and usage documentation
Development Commands
make install
make test
make static-analysis
make fix
make validate
Documentation
- Getting Started — installation and basic usage
- Caching — reduce API calls with Redis or in-memory caching
- Installation — local setup and common workflows
- Static Analysis — linting and quality tooling
- Magic Methods Migration — moving to explicit accessors
- Tasks and Roadmap — backlog and long-term improvements