Skip to content

Instantly share code, notes, and snippets.

@mxr576
Last active March 10, 2026 20:53
Show Gist options
  • Select an option

  • Save mxr576/f8da37b48fd031a09c920ef0750612dc to your computer and use it in GitHub Desktop.

Select an option

Save mxr576/f8da37b48fd031a09c920ef0750612dc to your computer and use it in GitHub Desktop.
Drupal AI Providers Collection
{
"name": "mxr576/drupal-ai-providers",
"description": "Downloads a collection of Drupal AI provider modules. Intended for exploring provider implementations or refactoring the AI core module. WARNING: This setup creates a non-functioning project.",
"type": "metapackage",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"extra": {
"installer-paths": {
"./{$name}": [
"type:drupal-module"
]
},
"drupal-core-vendor-hardening": {
"drupal/core": ["profiles", "modules", "themes", "tests"],
"drupal/ai": ["src", "modules", "tests", "docs", "ai.module", "ai.install"],
"drupal/key": ["src", "tests", "key.module", "key.install"],
"drupal/search_api": ["src", "modules", "tests", "search_api.module", "search_api.install"]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"drupal/ai_provider_amazeeio": "^1.2",
"drupal/ai_provider_anthropic": "^1.2",
"drupal/auphonic": "^1.0@beta",
"drupal/ai_provider_aws_bedrock": "^1.1@beta",
"drupal/ai_provider_azure": "^1.1@beta",
"drupal/ai_provider_deepseek": "^1.0",
"drupal/deepgram": "^1.0@beta",
"drupal/ai_provider_deepl": "^1.0@alpha",
"drupal/elevenlabs": "^1.1",
"drupal/fireworksai": "^1.1@RC",
"drupal/gemini_provider": "^1.0@RC",
"drupal/ai_provider_google_vertex": "^1.1",
"drupal/ai_provider_groq": "^1.2@RC",
"drupal/ai_provider_huggingface": "^1.0@RC",
"drupal/ai_provider_litellm": "^1.2",
"drupal/ai_provider_lmstudio": "^1.1",
"drupal/ai_provider_mistral": "^1.1@RC",
"drupal/ai_provider_ollama": "^1.2@RC",
"drupal/ai_provider_openai": "^1.2",
"drupal/ai_provider_perplexity": "^1.0@beta"
},
"config": {
"allow-plugins": {
"php-http/discovery": true,
"composer/installers": true,
"drupal/core-composer-scaffold": false,
"drupal/core-vendor-hardening": true
}
},
"require-dev": {
"composer/installers": "^2.3",
"drupal/core-vendor-hardening": "^11.3"
}
}
@mxr576

mxr576 commented Mar 10, 2026

Copy link
Copy Markdown
Author

It assumes that the AI module is already installed in the project. This metapackage is only used to download a collection of provider implementations, which may or may not be compatible with the installed version of the AI module.

Suggestion: If you use PHPStorm, mark ai, core, key and search_api folders as Excluded to speed up indexing and remove duplicated symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment