{
"name": "luminovang/php-ai-models",
"description": "AI client module for model helper. Integrates OpenAI, Anthropic Claude, and Ollama with a unified interface for chat, vision, embeddings, image generation, speech synthesis, fine-tuning, and more.",
"keywords": [
"luminova",
"ai",
"openai",
"anthropic",
"claude",
"ollama",
"gpt",
"llm",
"embeddings",
"vision",
"speech",
"fine-tuning",
"php-ai",
"ai-model",
"machine-learning"
],
"license": "MIT",
"type": "library",
"homepage": "https://github.com/luminovang/php-ai-models",
"readme": "README.md",
"authors": [
{
"name": "Ujah Chigozie",
"email": "ujahchigozie@gmail.com",
"homepage": "https://luminova.ng",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/luminovang/php-ai-models/issues",
"source": "https://github.com/luminovang/php-ai-models",
"docs": "https://luminova.ng/docs/0.0.0/ai",
"email": "peter@luminova.ng"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/luminovang"
}
],
"require": {
"php": "^8"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"phpstan/phpstan": "^1.12",
"friendsofphp/php-cs-fixer": "^3.64"
},
"autoload": {
"psr-4": {
"Luminova\\AI\\": "src/"
}
},
"suggest": {
"luminovang/php-ai-models-enum": "Use for PHP ? 8.1 when native backed enums are needed."
},
"scripts": {
"test": "vendor/bin/phpunit --testdox",
"test:coverage": "vendor/bin/phpunit --coverage-html build/coverage",
"analyze": "vendor/bin/phpstan analyse src --level=8",
"cs-check": "vendor/bin/php-cs-fixer check src --diff",
"cs-fix": "vendor/bin/php-cs-fixer fix src",
"ci": [
"@cs-check",
"@analyze",
"@test"
]
},
"scripts-descriptions": {
"test": "Run the PHPUnit test suite.",
"test:coverage": "Run the test suite and generate an HTML coverage report in build/coverage/.",
"analyze": "Run PHPStan static analysis at level 8.",
"cs-check": "Check source files against the coding standard without modifying them.",
"cs-fix": "Auto-fix coding standard violations in the src/ directory.",
"ci": "Run the full CI pipeline: coding standard check, static analysis, and tests."
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true
}
|