Download the PHP package aisdk/moonshot without Composer
On this page you can find all versions of the php package aisdk/moonshot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aisdk/moonshot
More information about aisdk/moonshot
Files in aisdk/moonshot
Download aisdk/moonshot
More information about aisdk/moonshot
Files in aisdk/moonshot
Vendor aisdk
Package moonshot
Short Description Official Moonshot provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/moonshot
Package moonshot
Short Description Official Moonshot provider for the PHP AI SDK.
License MIT
Homepage https://github.com/phpaisdk/moonshot
Please rate this library. Is it a good library?
Informations about the package moonshot
aisdk/moonshot
Official Moonshot provider for the PHP AI SDK. Uses Moonshot's Chat Completions API.
Installation
Basic Usage
Configuration
| Variable | Description | Default |
|---|---|---|
MOONSHOT_API_KEY |
API key for authentication | Required |
MOONSHOT_BASE_URL |
Base URL for API requests | https://api.moonshot.ai |
Supported Capabilities
| Capability | Support |
|---|---|
| Text generation | Native |
| Streaming | Native |
| Tool calling | Native |
| Structured output | Adapted (json_object with an explicit JSON instruction) |
| Text input | Native |
Provider-specific fields can be passed through providerOptions('moonshot', [...]). Model IDs are opaque strings and Moonshot remains the authority on model availability.
Testing
Documentation
Community
- Contributing
- Support
- For private security reports, email [email protected].
All versions of moonshot with dependencies
PHP Build Version
Package Version
The package aisdk/moonshot contains the following files
Loading the files please wait ...