symfony / ai-platform
PHP library for interacting with AI platform provider.
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Requires
- php: >=8.2
- ext-fileinfo: *
- oskarstark/enum-helper: ^1.5
- phpdocumentor/reflection-docblock: ^5.4
- phpstan/phpdoc-parser: ^2.1
- psr/log: ^3.0
- symfony/clock: ^6.4 || ^7.1
- symfony/http-client: ^6.4 || ^7.1
- symfony/property-access: ^6.4 || ^7.1
- symfony/property-info: ^6.4 || ^7.1
- symfony/serializer: ^6.4 || ^7.1
- symfony/type-info: ^7.2.3
- symfony/uid: ^6.4 || ^7.1
- webmozart/assert: ^1.11
Requires (Dev)
- async-aws/bedrock-runtime: ^0.1.0
- codewithkyrian/transformers: ^0.5.3
- phpstan/phpstan: ^2.1.17
- phpstan/phpstan-symfony: ^2.0.6
- phpstan/phpstan-webmozart-assert: ^2.0.0
- phpunit/phpunit: ^11.5
- symfony/ai-agent: @dev
- symfony/console: ^6.4 || ^7.1
- symfony/dotenv: ^6.4 || ^7.1
- symfony/event-dispatcher: ^6.4 || ^7.1
- symfony/finder: ^6.4 || ^7.1
- symfony/process: ^6.4 || ^7.1
- symfony/var-dumper: ^6.4 || ^7.1
Suggests
- async-aws/bedrock-runtime: For using the Bedrock platform.
- codewithkyrian/transformers: For using the TransformersPHP with FFI to run models in PHP.
This package is auto-updated.
Last update: 2025-07-12 06:15:37 UTC
README
The Platform component provides an abstraction for interacting with different models, their providers and contracts.
This Component is experimental. Experimental features are not covered by Symfony's Backward Compatibility Promise.
Installation
composer require symfony/ai-platform
This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ai to create issues or submit pull requests.