Skip to content

Commit d1432b9

Browse files
committed
[Decart] Add platform bridge package
- 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
1 parent cbe5e04 commit d1432b9

File tree

5 files changed

+69
-5
lines changed

5 files changed

+69
-5
lines changed

demo/config/reference.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?php
22

3-
// This file is auto-generated and is for apps only. Bundles SHOULD NOT rely on its content.
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
411

512
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
613

examples/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
"type": "path",
4949
"url": "../src/platform/src/Bridge/Cerebras"
5050
},
51+
{
52+
"type": "path",
53+
"url": "../src/platform/src/Bridge/Decart"
54+
},
5155
{
5256
"type": "path",
5357
"url": "../src/platform/src/Bridge/DeepSeek"
@@ -132,6 +136,7 @@
132136
"symfony/ai-click-house-store": "@dev",
133137
"symfony/ai-clock-tool": "@dev",
134138
"symfony/ai-cloudflare-store": "@dev",
139+
"symfony/ai-decart-platform": "@dev",
135140
"symfony/ai-deep-seek-platform": "@dev",
136141
"symfony/ai-docker-model-runner-platform": "@dev",
137142
"symfony/ai-eleven-labs-platform": "@dev",

src/ai-bundle/composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@
5757
}
5858
},
5959
"config": {
60-
"sort-packages": true,
61-
"allow-plugins": {
62-
"php-http/discovery": true
63-
}
60+
"sort-packages": true
6461
},
6562
"extra": {
6663
"branch-alias": {

src/platform/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ To use a specific AI platform, install the corresponding bridge package:
2626
| AWS Bedrock | `symfony/ai-bedrock-platform` |
2727
| Cartesia | `symfony/ai-cartesia-platform` |
2828
| Cerebras | `symfony/ai-cerebras-platform` |
29+
| Decart | `symfony/ai-decart-platform` |
2930
| DeepSeek | `symfony/ai-deep-seek-platform` |
3031
| Docker Model Runner | `symfony/ai-docker-model-runner-platform` |
3132
| ElevenLabs | `symfony/ai-eleven-labs-platform` |
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "symfony/ai-decart-platform",
3+
"description": "Decart platform bridge for Symfony AI",
4+
"license": "MIT",
5+
"type": "symfony-ai-platform",
6+
"keywords": ["ai", "bridge", "decart", "image", "platform", "video"],
7+
"authors": [
8+
{
9+
"name": "Christopher Hertel",
10+
"email": "[email protected]"
11+
},
12+
{
13+
"name": "Oskar Stark",
14+
"email": "[email protected]"
15+
},
16+
{
17+
"name": "Symfony Community",
18+
"homepage": "https://symfony.com/contributors"
19+
}
20+
],
21+
"require": {
22+
"php": ">=8.2",
23+
"symfony/ai-platform": "@dev"
24+
},
25+
"require-dev": {
26+
"phpunit/phpunit": "^11.5.13"
27+
},
28+
"minimum-stability": "dev",
29+
"autoload": {
30+
"psr-4": {
31+
"Symfony\\AI\\Platform\\Bridge\\Decart\\": ""
32+
}
33+
},
34+
"autoload-dev": {
35+
"psr-4": {
36+
"Symfony\\AI\\Platform\\Bridge\\Decart\\Tests\\": "Tests/"
37+
}
38+
},
39+
"config": {
40+
"allow-plugins": {
41+
"php-http/discovery": true
42+
},
43+
"sort-packages": true
44+
},
45+
"extra": {
46+
"branch-alias": {
47+
"dev-main": "0.x-dev"
48+
},
49+
"thanks": {
50+
"name": "symfony/ai",
51+
"url": "https://github.com/symfony/ai"
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)