PHPackages                             axumoss/hasab-ai - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. axumoss/hasab-ai

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

axumoss/hasab-ai
================

a laravel sdk for hasab-ai

v0.1.0(3mo ago)001MITPHP

Since Feb 11Pushed 3mo agoCompare

[ Source](https://github.com/axumOSS/hasab-ai)[ Packagist](https://packagist.org/packages/axumoss/hasab-ai)[ RSS](/packages/axumoss-hasab-ai/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Hasab-AI Laravel SDK
====================

[](#hasab-ai-laravel-sdk)

A Laravel SDK for interacting with the Hasab-AI API, providing easy access to Translation, Transcription, and Text-to-Speech (TTS) services.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require axumoss/hasab-ai
```

The service provider will automatically register itself.

Configuration
-------------

[](#configuration)

You can publish the config file using:

```
php artisan vendor:publish --provider="Axumoss\HasabAi\HasabAiServiceProvider" --tag="config"
```

Then, add your Hasab-AI API token to your `.env` file:

```
HASABAI_TOKEN=your_api_token_here
```

Usage
-----

[](#usage)

### Using the Facade

[](#using-the-facade)

The `HasabAi` facade provides access to all services:

```
use Axumoss\HasabAi\Facades\HasabAi;

// Transcription
$result = HasabAi::transcribe()->upload('path/to/audio.mp3', 'amh');

// Translation
$result = HasabAi::translate()->translate(['Hello', 'World'], 'eng', 'orm');

// Text-to-Speech
$result = HasabAi::tts()->synthesize('ሰላም', 'amh');
```

### Using Service Injection

[](#using-service-injection)

You can also inject the specific endpoint classes:

```
use Axumoss\HasabAi\Endpoints\Transcription;

public function transcribe(Transcription $transcription)
{
    return $transcription->upload('path/to/audio.mp3');
}
```

### Endpoints

[](#endpoints)

#### Transcription

[](#transcription)

- `upload($audio, string $language = 'amh', ?string $sourceLanguage = 'amh', bool $translate = false, bool $summarize = false, bool $isMeeting = false)`
- `history(int $page = 1)`

#### Translation

[](#translation)

- `translate(array $texts, string $sourceLanguage, string $targetLanguage)`

#### Text-to-Speech (TTS)

[](#text-to-speech-tts)

- `synthesize(string $text, string $language, ?string $speakerName = null)`
- `getSpeakers(?string $language = null)`
- `getHistory(array $params = [])`
- `getAnalytics(array $params = [])`
- `getRecord($recordId)`
- `deleteRecord($recordId)`
- `streamSynthesize(string $text, string $language, ?string $speakerName = null, int $sampleRate = 22050)`

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance82

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

97d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/470e7f381497eeba15b1e07d15fb85cca8febb0c4407c0eb46dbbfbfe3072070?d=identicon)[miki-babi](/maintainers/miki-babi)

---

Top Contributors

[![miki-babi](https://avatars.githubusercontent.com/u/129675568?v=4)](https://github.com/miki-babi "miki-babi (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/axumoss-hasab-ai/health.svg)

```
[![Health](https://phpackages.com/badges/axumoss-hasab-ai/health.svg)](https://phpackages.com/packages/axumoss-hasab-ai)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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