Skip to content

Commit 94e05f3

Browse files
committed
minor #993 Normalize composer.json files (OskarStark)
This PR was merged into the main branch. Discussion ---------- Normalize composer.json files | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- 8ea9fa6 Normalize composer.json files
2 parents 557055f + 8ea9fa6 commit 94e05f3

File tree

19 files changed

+159
-88
lines changed

19 files changed

+159
-88
lines changed

ai.symfony.com/composer.json

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"type": "project",
2+
"description": "The ai.symfony.com website.",
33
"license": "proprietary",
4-
"minimum-stability": "stable",
5-
"prefer-stable": true,
4+
"type": "project",
65
"require": {
76
"php": ">=8.4",
87
"ext-ctype": "*",
@@ -21,23 +20,8 @@
2120
"twig/extra-bundle": "^3.0",
2221
"twig/twig": "^3.0"
2322
},
24-
"config": {
25-
"allow-plugins": {
26-
"php-http/discovery": true,
27-
"symfony/flex": true,
28-
"symfony/runtime": true
29-
},
30-
"sort-packages": true
31-
},
32-
"autoload": {
33-
"psr-4": {
34-
"App\\": "src/"
35-
}
36-
},
37-
"autoload-dev": {
38-
"psr-4": {
39-
"App\\Tests\\": "tests/"
40-
}
23+
"require-dev": {
24+
"symfony/maker-bundle": "^1.64"
4125
},
4226
"replace": {
4327
"symfony/polyfill-ctype": "*",
@@ -51,29 +35,46 @@
5135
"symfony/polyfill-php83": "*",
5236
"symfony/polyfill-php84": "*"
5337
},
54-
"scripts": {
55-
"auto-scripts": {
56-
"cache:clear": "symfony-cmd",
57-
"assets:install %PUBLIC_DIR%": "symfony-cmd",
58-
"importmap:install": "symfony-cmd"
59-
},
60-
"post-install-cmd": [
61-
"@auto-scripts"
62-
],
63-
"post-update-cmd": [
64-
"@auto-scripts"
65-
]
66-
},
6738
"conflict": {
6839
"symfony/symfony": "*"
6940
},
41+
"minimum-stability": "stable",
42+
"prefer-stable": true,
43+
"autoload": {
44+
"psr-4": {
45+
"App\\": "src/"
46+
}
47+
},
48+
"autoload-dev": {
49+
"psr-4": {
50+
"App\\Tests\\": "tests/"
51+
}
52+
},
53+
"config": {
54+
"allow-plugins": {
55+
"php-http/discovery": true,
56+
"symfony/flex": true,
57+
"symfony/runtime": true
58+
},
59+
"sort-packages": true
60+
},
7061
"extra": {
7162
"symfony": {
7263
"allow-contrib": false,
7364
"require": "7.3.*"
7465
}
7566
},
76-
"require-dev": {
77-
"symfony/maker-bundle": "^1.64"
67+
"scripts": {
68+
"post-install-cmd": [
69+
"@auto-scripts"
70+
],
71+
"post-update-cmd": [
72+
"@auto-scripts"
73+
],
74+
"auto-scripts": {
75+
"cache:clear": "symfony-cmd",
76+
"assets:install %PUBLIC_DIR%": "symfony-cmd",
77+
"importmap:install": "symfony-cmd"
78+
}
7879
}
7980
}

examples/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"symfony/ai-chat": "@dev",
2323
"symfony/ai-clock-tool": "@dev",
2424
"symfony/ai-open-meteo-tool": "@dev",
25+
"symfony/ai-platform": "@dev",
2526
"symfony/ai-scraper-tool": "@dev",
2627
"symfony/ai-serp-api-tool": "@dev",
2728
"symfony/ai-similarity-search-tool": "@dev",
28-
"symfony/ai-platform": "@dev",
2929
"symfony/ai-store": "@dev",
3030
"symfony/ai-tavily-tool": "@dev",
3131
"symfony/ai-wikipedia-tool": "@dev",

src/agent/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"symfony/translation": "^7.3|^8.0",
4444
"symfony/translation-contracts": "^3.6"
4545
},
46+
"minimum-stability": "dev",
4647
"autoload": {
4748
"psr-4": {
4849
"Symfony\\AI\\Agent\\": "src/"
@@ -66,6 +67,5 @@
6667
"name": "symfony/ai",
6768
"url": "https://github.com/symfony/ai"
6869
}
69-
},
70-
"minimum-stability": "dev"
70+
}
7171
}

src/agent/src/Bridge/Brave/composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
"description": "Brave Search AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "brave", "agent", "tool"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"brave",
10+
"agent",
11+
"tool"
12+
],
713
"authors": [
814
{
915
"name": "Christopher Hertel",
@@ -22,6 +28,7 @@
2228
"require-dev": {
2329
"phpunit/phpunit": "^11.5.13"
2430
},
31+
"minimum-stability": "dev",
2532
"autoload": {
2633
"psr-4": {
2734
"Symfony\\AI\\Agent\\Bridge\\Brave\\": ""
@@ -43,6 +50,5 @@
4350
"name": "symfony/ai",
4451
"url": "https://github.com/symfony/ai"
4552
}
46-
},
47-
"minimum-stability": "dev"
53+
}
4854
}

src/agent/src/Bridge/Clock/composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"description": "Clock AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "clock", "agent", "tool", "time"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"clock",
10+
"agent",
11+
"tool",
12+
"time"
13+
],
714
"authors": [
815
{
916
"name": "Christopher Hertel",
@@ -22,6 +29,7 @@
2229
"require-dev": {
2330
"phpunit/phpunit": "^11.5.13"
2431
},
32+
"minimum-stability": "dev",
2533
"autoload": {
2634
"psr-4": {
2735
"Symfony\\AI\\Agent\\Bridge\\Clock\\": ""
@@ -43,6 +51,5 @@
4351
"name": "symfony/ai",
4452
"url": "https://github.com/symfony/ai"
4553
}
46-
},
47-
"minimum-stability": "dev"
54+
}
4855
}

src/agent/src/Bridge/Firecrawl/composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
"description": "Firecrawl AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "firecrawl", "agent", "tool"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"firecrawl",
10+
"agent",
11+
"tool"
12+
],
713
"authors": [
814
{
915
"name": "Guillaume Loulier",
@@ -22,6 +28,7 @@
2228
"require-dev": {
2329
"phpunit/phpunit": "^11.5.13"
2430
},
31+
"minimum-stability": "dev",
2532
"autoload": {
2633
"psr-4": {
2734
"Symfony\\AI\\Agent\\Bridge\\Firecrawl\\": ""
@@ -43,6 +50,5 @@
4350
"name": "symfony/ai",
4451
"url": "https://github.com/symfony/ai"
4552
}
46-
},
47-
"minimum-stability": "dev"
53+
}
4854
}

src/agent/src/Bridge/Mapbox/composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"description": "Mapbox AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "mapbox", "agent", "tool", "geocoding"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"mapbox",
10+
"agent",
11+
"tool",
12+
"geocoding"
13+
],
714
"authors": [
815
{
916
"name": "Oskar Stark",
@@ -18,6 +25,7 @@
1825
"require-dev": {
1926
"phpunit/phpunit": "^11.5.13"
2027
},
28+
"minimum-stability": "dev",
2129
"autoload": {
2230
"psr-4": {
2331
"Symfony\\AI\\Agent\\Bridge\\Mapbox\\": ""
@@ -39,6 +47,5 @@
3947
"name": "symfony/ai",
4048
"url": "https://github.com/symfony/ai"
4149
}
42-
},
43-
"minimum-stability": "dev"
50+
}
4451
}

src/agent/src/Bridge/OpenMeteo/composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"description": "OpenMeteo weather AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "openmeteo", "weather", "agent", "tool"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"openmeteo",
10+
"weather",
11+
"agent",
12+
"tool"
13+
],
714
"authors": [
815
{
916
"name": "Christopher Hertel",
@@ -18,6 +25,7 @@
1825
"require-dev": {
1926
"phpunit/phpunit": "^11.5.13"
2027
},
28+
"minimum-stability": "dev",
2129
"autoload": {
2230
"psr-4": {
2331
"Symfony\\AI\\Agent\\Bridge\\OpenMeteo\\": ""
@@ -39,6 +47,5 @@
3947
"name": "symfony/ai",
4048
"url": "https://github.com/symfony/ai"
4149
}
42-
},
43-
"minimum-stability": "dev"
50+
}
4451
}

src/agent/src/Bridge/Scraper/composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"description": "Scraper AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "scraper", "agent", "tool", "web-scraping"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"scraper",
10+
"agent",
11+
"tool",
12+
"web-scraping"
13+
],
714
"authors": [
815
{
916
"name": "Christopher Hertel",
@@ -25,6 +32,7 @@
2532
"require-dev": {
2633
"phpunit/phpunit": "^11.5.13"
2734
},
35+
"minimum-stability": "dev",
2836
"autoload": {
2937
"psr-4": {
3038
"Symfony\\AI\\Agent\\Bridge\\Scraper\\": ""
@@ -46,6 +54,5 @@
4654
"name": "symfony/ai",
4755
"url": "https://github.com/symfony/ai"
4856
}
49-
},
50-
"minimum-stability": "dev"
57+
}
5158
}

src/agent/src/Bridge/SerpApi/composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
"description": "SerpApi AI tool bridge for Symfony applications.",
44
"license": "MIT",
55
"type": "symfony-ai-tool",
6-
"keywords": ["ai", "bridge", "serpapi", "agent", "tool"],
6+
"keywords": [
7+
"ai",
8+
"bridge",
9+
"serpapi",
10+
"agent",
11+
"tool"
12+
],
713
"authors": [
814
{
915
"name": "Christopher Hertel",
@@ -18,6 +24,7 @@
1824
"require-dev": {
1925
"phpunit/phpunit": "^11.5.13"
2026
},
27+
"minimum-stability": "dev",
2128
"autoload": {
2229
"psr-4": {
2330
"Symfony\\AI\\Agent\\Bridge\\SerpApi\\": ""
@@ -39,6 +46,5 @@
3946
"name": "symfony/ai",
4047
"url": "https://github.com/symfony/ai"
4148
}
42-
},
43-
"minimum-stability": "dev"
49+
}
4450
}

0 commit comments

Comments
 (0)