|
1 | 1 | { |
2 | | - "name": "echolabs/prism", |
3 | | - "description": "AI", |
| 2 | + "name": "echolabsdev/prism", |
| 3 | + "description": "A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.", |
4 | 4 | "type": "library", |
5 | 5 | "license": "MIT", |
6 | 6 | "autoload": { |
|
15 | 15 | } |
16 | 16 | ], |
17 | 17 | "require": { |
| 18 | + "php": "^8.3", |
18 | 19 | "laravel/framework": "^11.0" |
19 | 20 | }, |
20 | 21 | "config": { |
|
25 | 26 | } |
26 | 27 | }, |
27 | 28 | "require-dev": { |
28 | | - "pestphp/pest": "^2.34", |
| 29 | + "pestphp/pest": "^3.0", |
29 | 30 | "laravel/pint": "^1.14", |
30 | 31 | "phpstan/phpstan": "^1.11", |
31 | | - "pestphp/pest-plugin-arch": "^2.7", |
32 | | - "pestphp/pest-plugin-laravel": "^2.4", |
| 32 | + "pestphp/pest-plugin-arch": "^3.0", |
| 33 | + "pestphp/pest-plugin-laravel": "^3.0", |
33 | 34 | "phpstan/extension-installer": "^1.3", |
34 | 35 | "phpstan/phpstan-deprecation-rules": "^1.2", |
35 | 36 | "rector/rector": "^1.1", |
36 | | - "projektgopher/whisky": "^0.7.0" |
| 37 | + "projektgopher/whisky": "^0.7.0", |
| 38 | + "orchestra/testbench": "^9.4", |
| 39 | + "mockery/mockery": "^1.6" |
37 | 40 | }, |
38 | 41 | "autoload-dev": { |
39 | 42 | "psr-4": { |
40 | | - "Tests\\": "tests/" |
| 43 | + "Tests\\": "tests/", |
| 44 | + "Workbench\\App\\": "workbench/app/", |
| 45 | + "Workbench\\Database\\Factories\\": "workbench/database/factories/", |
| 46 | + "Workbench\\Database\\Seeders\\": "workbench/database/seeders/" |
41 | 47 | } |
42 | 48 | }, |
43 | 49 | "scripts": { |
| 50 | + "post-install-cmd": [ |
| 51 | + "whisky update" |
| 52 | + ], |
| 53 | + "post-update-cmd": [ |
| 54 | + "whisky update" |
| 55 | + ], |
44 | 56 | "post-autoload-dump": [ |
45 | 57 | "@clear", |
46 | 58 | "@prepare" |
|
54 | 66 | ], |
55 | 67 | "test": [ |
56 | 68 | "@php vendor/bin/pest" |
| 69 | + ], |
| 70 | + "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", |
| 71 | + "prepare": "@php vendor/bin/testbench package:discover --ansi", |
| 72 | + "build": "@php vendor/bin/testbench workbench:build --ansi", |
| 73 | + "serve": [ |
| 74 | + "Composer\\Config::disableProcessTimeout", |
| 75 | + "@build", |
| 76 | + "@php vendor/bin/testbench serve --ansi" |
| 77 | + ], |
| 78 | + "lint": [ |
| 79 | + "@php vendor/bin/pint --ansi", |
| 80 | + "@php vendor/bin/phpstan analyse --verbose --ansi" |
| 81 | + ], |
| 82 | + "toc": [ |
| 83 | + "markdown-toc -i README.md" |
57 | 84 | ] |
| 85 | + }, |
| 86 | + "extra": { |
| 87 | + "laravel": { |
| 88 | + "providers": [ |
| 89 | + "EchoLabs\\Prism\\PrismServiceProvider" |
| 90 | + ], |
| 91 | + "aliases": { |
| 92 | + "PrismServer": "EchoLabs\\Prism\\Facades\\PrismServer" |
| 93 | + } |
| 94 | + } |
58 | 95 | } |
59 | 96 | } |
0 commit comments