PHPackages                             sarvamai-php/sarvamai-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. sarvamai-php/sarvamai-php

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

sarvamai-php/sarvamai-php
=========================

Sarvam AI for PHP client.

v0.0.0(11mo ago)301[2 PRs](https://github.com/sarvamai-php/sarvamai-php/pulls)MITPHPPHP ^8.3CI passing

Since May 25Pushed 8mo agoCompare

[ Source](https://github.com/sarvamai-php/sarvamai-php)[ Packagist](https://packagist.org/packages/sarvamai-php/sarvamai-php)[ GitHub Sponsors](https://github.com/CodeWithSushil)[ RSS](/packages/sarvamai-php-sarvamai-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

🇮🇳 Sarvam AI: India’s Indigenous LLM Platform for Multilingual Intelligence
===========================================================================

[](#-sarvam-ai-indias-indigenous-llm-platform-for-multilingual-intelligence)

[![Tests](https://github.com/sarvamai-php/sarvamai-php/actions/workflows/tests.yml/badge.svg)](https://github.com/sarvamai-php/sarvamai-php/actions/workflows/tests.yml) [![GitHub License](https://camo.githubusercontent.com/f65948d327081edfe587041a9e6aed12cf7d2b86cf9407eb03aa84a6364095d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73617276616d61692d7068702f73617276616d61692d706870)](https://camo.githubusercontent.com/f65948d327081edfe587041a9e6aed12cf7d2b86cf9407eb03aa84a6364095d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73617276616d61692d7068702f73617276616d61692d706870) [![Packagist Version](https://camo.githubusercontent.com/429933a61785c30895038e88e992aac6b7c3a3e989173ea034e7aa26b38b1826/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73617276616d61692d7068702f73617276616d61692d706870)](https://camo.githubusercontent.com/429933a61785c30895038e88e992aac6b7c3a3e989173ea034e7aa26b38b1826/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73617276616d61692d7068702f73617276616d61692d706870)[![Packagist Downloads](https://camo.githubusercontent.com/d8a2fe242a0a4ead41a91f5ea8a88b1812b44afbf8ed7e01aa7267eb6b3ce4a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617276616d61692d7068702f73617276616d61692d706870)](https://camo.githubusercontent.com/d8a2fe242a0a4ead41a91f5ea8a88b1812b44afbf8ed7e01aa7267eb6b3ce4a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73617276616d61692d7068702f73617276616d61692d706870)

India has taken a significant leap in the AI domain with the launch of **Sarvam AI**, a homegrown platform offering cutting-edge large language model (LLM) capabilities tailored for Indian languages and use cases. Sarvam AI stands out not only for its LLM capabilities but also for its comprehensive suite of multilingual and multimodal tools, designed to bridge the language divide across digital India.

---

✨ Key Features of Sarvam AI
---------------------------

[](#-key-features-of-sarvam-ai)

Sarvam AI offers a wide range of AI-powered capabilities, making it a versatile platform for developers, enterprises, and public services:

- **🧠 Large Language Model (LLM)**
    A robust model optimized for Indian linguistic contexts, capable of understanding, generating, and reasoning in multiple Indic languages.
- **🗣️ Text-to-Speech (TTS)**
    Converts text into natural-sounding speech in various Indian languages for voice interfaces and accessibility.
- **🎙️ Speech-to-Text (STT)**
    Accurately transcribes audio into text, handling diverse accents and dialects.
- **🔄 Speech Translation (ST)**
    Real-time translation of spoken language—ideal for conversations, learning, and customer support.
- **🌐 Text Translation**
    Seamlessly translate between English and Indian languages to support content localization.
- **✍️ Transliteration**
    Convert text between scripts (e.g., Roman ↔️ Devanagari) for regional communication.
- **🗃️ Indic Language Support**
    Deep support for major Indian languages like Hindi, Tamil, Telugu, Bengali, Kannada, Malayalam, Marathi, Gujarati, Odia, and more.

---

### Install

[](#install)

> **⚠️ WARNING:** This package is under active development. Features may change, break, or be removed without notice.
> Use at your own risk in production environments.
> Contributions, testing, and feedback are welcome as this project evolves.

```
composer require sarvamai-php/sarvamai-php
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance59

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14ee8bc204856d2c784a628778d5ae25e5ef14052cce198ca3a7943574832260?d=identicon)[CodeWithSushil](/maintainers/CodeWithSushil)

---

Top Contributors

[![CodeWithSushil](https://avatars.githubusercontent.com/u/94827178?v=4)](https://github.com/CodeWithSushil "CodeWithSushil (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

aiartificial-intelligencecurlindiallmllmsphpsarvamsarvamai

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sarvamai-php-sarvamai-php/health.svg)

```
[![Health](https://phpackages.com/badges/sarvamai-php-sarvamai-php/health.svg)](https://phpackages.com/packages/sarvamai-php-sarvamai-php)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k822.4M6.7k](/packages/symfony-http-kernel)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[php-http/logger-plugin

PSR-3 Logger plugin for HTTPlug

29025.3M69](/packages/php-http-logger-plugin)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
