PHPackages                             usermp/eitaayar - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. usermp/eitaayar

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

usermp/eitaayar
===============

v1.0.0(3y ago)423MITPHP

Since Apr 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/usermp/eitaayar)[ Packagist](https://packagist.org/packages/usermp/eitaayar)[ RSS](/packages/usermp-eitaayar/feed)WikiDiscussions master Synced yesterday

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

Eitaayar API Client
===================

[](#eitaayar-api-client)

This package provides a simple way to interact with the Eitaayar API for sending messages and documents to Eitaayar channel or groups.

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

[](#installation)

To install this package, you can use Composer:

```
composer require usermp/eitaayar

```

Usage
-----

[](#usage)

To use this package, you need to have an [Eitaayar](https://eitaayar.ir/) API token.

Edit your .env file and add this const:

```
EITAAYAR_TOKEN={Eitaayar API token}

```

Sending a message
-----------------

[](#sending-a-message)

To send a text message to a chat, you can use the sendMessage() method. Here's an example:

```
use Eitaayar\Eitaayar;

// Send a message to the chat with ID 12345678
$message = Eitaayar::sendMessage(12345678, "Hello, world!");

```

The sendMessage() method returns an array with information about the message that was sent.

Sending a document
------------------

[](#sending-a-document)

To send a document to a chat, you can use the sendDocument() method. Here's an example:

```
use Eitaayar\Eitaayar;

// Send a document to the chat with ID 12345678
$message = Eitaayar::sendDocument(12345678, "/path/to/document.pdf");

```

The sendDocument() method returns an array with information about the message that was sent.

License
-------

[](#license)

Eitaayar API Client is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

1160d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48add354597189247b456142f8384caf8b7dde8d30e48eab47b6a1484ebceecc?d=identicon)[usermp](/maintainers/usermp)

---

Top Contributors

[![usermp](https://avatars.githubusercontent.com/u/39251365?v=4)](https://github.com/usermp "usermp (10 commits)")

### Embed Badge

![Health badge](/badges/usermp-eitaayar/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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