Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

chore: updating some composer metadata + normalize #287

Merged
merged 1 commit into from
Apr 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"name": "php-llm/llm-chain",
"description": "A slim PHP component with tooling around LLMs.",
"license": "MIT",
"type": "library",
"description": "PHP library for building LLM-based and AI-based features and applications.",
"keywords": [
"ai",
"llm",
"huggingface",
"transformers"
],
"license": "MIT",
"authors": [
{
"name": "Christopher Hertel",
Expand Down Expand Up @@ -30,6 +36,9 @@
"symfony/uid": "^6.4 || ^7.1",
"webmozart/assert": "^1.11"
},
"conflict": {
"mongodb/mongodb": "<1.21"
},
"require-dev": {
"codewithkyrian/chromadb-php": "^0.2.1 || ^0.3",
"codewithkyrian/transformers": "^0.5.3",
Expand All @@ -49,9 +58,6 @@
"symfony/process": "^6.4 || ^7.1",
"symfony/var-dumper": "^6.4 || ^7.1"
},
"conflict": {
"mongodb/mongodb": "<1.21"
},
"suggest": {
"codewithkyrian/chromadb-php": "For using the ChromaDB as retrieval vector store.",
"codewithkyrian/transformers": "For using the TransformersPHP with FFI to run models in PHP.",
Expand All @@ -60,6 +66,12 @@
"symfony/css-selector": "For using the YouTube transcription tool.",
"symfony/dom-crawler": "For using the YouTube transcription tool."
},
"config": {
"allow-plugins": {
"codewithkyrian/transformers-libsloader": true
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"PhpLlm\\LlmChain\\": "src/"
Expand All @@ -69,11 +81,5 @@
"psr-4": {
"PhpLlm\\LlmChain\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"codewithkyrian/transformers-libsloader": true
}
}
}