-
-
Notifications
You must be signed in to change notification settings - Fork 141
[Platform] Split bridges into dedicated packages #1093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
OskarStark
wants to merge
42
commits into
symfony:main
Choose a base branch
from
OskarStark:OskarStark/split-platform-bridges
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[Platform] Split bridges into dedicated packages #1093
OskarStark
wants to merge
42
commits into
symfony:main
from
OskarStark:OskarStark/split-platform-bridges
+4,656
−222
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
678f13c to
d20b1cb
Compare
OskarStark
added a commit
to OskarStark/ai
that referenced
this pull request
Dec 9, 2025
OskarStark
added a commit
to OskarStark/ai
that referenced
this pull request
Dec 9, 2025
OskarStark
added a commit
that referenced
this pull request
Dec 9, 2025
…^1.0 (OskarStark) This PR was merged into the main branch. Discussion ---------- [Platform][Bedrock] Allow async-aws/bedrock-runtime to ^1.0 | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Docs? | no | Issues | -- | License | MIT Commits ------- 3b54b42 minor #1093 [Platform][Bedrock] Allow async-aws/bedrock-runtime ^0.1|^1.0
c770d69 to
09f473a
Compare
7687414 to
b049476
Compare
OskarStark
commented
Dec 10, 2025
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Anthropic/Tests/Contract/AssistantMessageNormalizerTest.php
Outdated
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Gemini/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Gemini/Tests/Contract/MessageBagNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/HuggingFace/Tests/Contract/MessageBagNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Ollama/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/VertexAi/Tests/Contract/UserMessageNormalizerTest.php
Outdated
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/VertexAi/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
c259c9f to
cdf78f6
Compare
Contributor
|
Hey @OskarStark |
Split all 25 platform bridges into dedicated, independently installable
Composer packages following the same structure used for store bridges.
Each bridge now has its own:
- composer.json with proper dependencies
- README.md, CHANGELOG.md, LICENSE
- phpunit.xml.dist for isolated testing
- .github/ templates
Tests moved from tests/Bridge/{Name}/ to src/Bridge/{Name}/Tests/ with
updated namespaces.
Added platform bridge validation to CI workflow.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Split PlatformComponent into individual layers for each platform bridge, following the same pattern used for Store and Agent bridges. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add package availability checks for all platform bridges to provide clearer error messages when platform packages are not installed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
…cessors Bridges with TokenOutputProcessor or SearchResultProcessor need symfony/ai-agent as a dependency. Affected bridges: - Anthropic - DeepSeek - Gemini - Mistral - OpenAi - Perplexity - VertexAi 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The phpstan.dist.neon now ignores missingType.iterableValue for src/Bridge/**/Tests/* paths, making these annotations unnecessary. 🤖 Generated with [Claude Code](https://claude.ai/code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
…/tests/Fixtures 🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
…izerTest Move binaryContentProvider methods before their associated test methods and add @return PHPDoc annotations.
Allow codewithkyrian/platform-package-installer and codewithkyrian/transformers-libsloader plugins.
Update path to use src/platform/tests/Fixtures/ instead of src/fixtures/.
Move tests from src/platform/tests/Bridge/LmStudio/ to src/platform/src/Bridge/LmStudio/Tests/ to follow the same pattern as other bridge packages.
- Create composer.json for Decart platform bridge - Add Decart to examples/composer.json repositories and require - Add Decart to platform README - Move php-http/discovery allow-plugins from ai-bundle to Decart bridge
0358999 to
d1432b9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Split all 26 platform bridges into dedicated, independently installable Composer packages following the same structure used for store bridges.
Each bridge now has its own:
composer.jsonwith proper dependenciesREADME.md,CHANGELOG.md,LICENSEphpunit.xml.distfor isolated testing.github/templatesTests moved from
tests/Bridge/{Name}/tosrc/Bridge/{Name}/Tests/with updated namespaces.New Platform Packages
symfony/ai-ai-ml-api-platformsymfony/ai-albert-platformsymfony/ai-anthropic-platformsymfony/ai-azure-platformsymfony/ai-bedrock-platformsymfony/ai-cartesia-platformsymfony/ai-cerebras-platformsymfony/ai-decart-platformsymfony/ai-deep-seek-platformsymfony/ai-docker-model-runner-platformsymfony/ai-eleven-labs-platformsymfony/ai-gemini-platformsymfony/ai-generic-platformsymfony/ai-hugging-face-platformsymfony/ai-lm-studio-platformsymfony/ai-meta-platformsymfony/ai-mistral-platformsymfony/ai-ollama-platformsymfony/ai-open-ai-platformsymfony/ai-open-router-platformsymfony/ai-perplexity-platformsymfony/ai-replicate-platformsymfony/ai-scaleway-platformsymfony/ai-transformers-php-platformsymfony/ai-vertex-ai-platformsymfony/ai-voyage-platformAdditional Changes
willBeAvailablechecks in AiBundle for clearer error messagessymfony/ai-agentdependency for bridges withTokenOutputProcessor