Open History to see the last commit
1{
2 "name": "tanstack/ai-php-example",
3 "description": "PHP Slim Framework example for TanStack AI",
4 "type": "project",
5 "repositories": [
6 {
7 "type": "path",
8 "url": "../../packages/php/tanstack-ai"
9 }
10 ],
11 "require": {
12 "php": ">=8.1",
13 "slim/slim": "^4.12",
14 "slim/psr7": "^1.6",
15 "vlucas/phpdotenv": "^5.5",
16 "monolog/monolog": "^3.0",
17 "anthropic-ai/sdk": "^0.3.0",
18 "openai-php/client": "^0.10.0",
19 "tanstack/ai": "@dev",
20 "symfony/http-client": "^7.3"
21 },
22 "require-dev": {
23 "slim/psr7": "^1.6"
24 },
25 "autoload": {
26 "psr-4": {
27 "TanStack\\AI\\Example\\": "src/"
28 }
29 },
30 "scripts": {
31 "start": "php -S 0.0.0.0:8000 -t public public/index.php",
32 "start-anthropic": "php -S 0.0.0.0:8000 -t public public/anthropic-server.php",
33 "start-openai": "php -S 0.0.0.0:8000 -t public public/openai-server.php"
34 },
35 "config": {
36 "allow-plugins": {
37 "php-http/discovery": true
38 }
39 }
40}