PHPackages                             arjomand/eitaa - 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. arjomand/eitaa

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

arjomand/eitaa
==============

A lightweight library for working with Eitaayar api

1.0.0(2y ago)51901MITPHPPHP ^5.6 | ^7.0 | ^8.0

Since May 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mohammadali-arjomand/eitaaphplib)[ Packagist](https://packagist.org/packages/arjomand/eitaa)[ RSS](/packages/arjomand-eitaa/feed)WikiDiscussions master Synced 1mo ago

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

EitaaPHP
========

[](#eitaaphp)

EitaaPHP is a lightweight library for working with Eitaayar api in php

How to add it in my project?
----------------------------

[](#how-to-add-it-in-my-project)

---

### 1. with composer

[](#1-with-composer)

```
$ composer require arjomand/eitaa

```

### 2. with git

[](#2-with-git)

```
$ git clone https://github.com/mohammadali-arjomand/eitaaphplib.git

```

> #### NOTICE
>
> [](#notice)
>
> if you use git for add library to your project, you should also add cURL in your project

---

now you should include library file:

```
include "eitaa.php";
```

How to use it?
--------------

[](#how-to-use-it)

for use this library:

1. first find your eitaayar token and channel id from [here](https://eitaayar.ir).

```
$token = "bot16344:6d3e4430-****-****-****-************";
$channel_id = 23333622;
```

2. now, create a object from Eitaa class.

```
$eitaa = new EitaaPHP($token, $channel_id);
```

3. use sendMessage or sendFile methods to sending.

```
// send message
$eitaa->sendMessgae("YOUR_TEXT_TO_SEND");
// send file
$eitaa->sendFile("YOUR_FILE_PATH_TO_SEND");
```

4. you can use other parameters in methods (See other parameters document: `~/docs/other-argument.md`).

```
// send message
$eitaa->sendMessgae("YOUR_TEXT_TO_SEND", [OTHER_PARAMETER => "VALUE"]);
// send file
$eitaa->sendFile("YOUR_FILE_PATH_TO_SEND", [OTHER_PARAMETER => "VALUE"]);
```

> ### Examples
>
> [](#examples)
>
> you can see examples code in `~/examples`

Donate
======

[](#donate)

[![](https://camo.githubusercontent.com/e13f2d5fb1e9f4c14ecb1fb7c07459938035495a8309a65d83e638ef9500e89b/68747470733a2f2f636f66666565626564652e69722f44617368626f61726454656d706c61746556322f6170702d6173736574732f696d616765732f62616e6e65722f64656661756c742d79656c6c6f772e737667)](https://www.coffeebede.com/mohammadali-arjomand)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

1081d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94a45d3437dcb1037829126720ddcd9a8a2fa4c36c2dc79b6adb876bd118604b?d=identicon)[mohammadali-arjomand](/maintainers/mohammadali-arjomand)

---

Top Contributors

[![mohammadali-arjomand](https://avatars.githubusercontent.com/u/106217912?v=4)](https://github.com/mohammadali-arjomand "mohammadali-arjomand (34 commits)")

---

Tags

apibotcurleitaamassengerbotphpphp-libphp-librariesphp-libraryroboturl

### Embed Badge

![Health badge](/badges/arjomand-eitaa/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M384](/packages/php-http-curl-client)

PHPackages © 2026

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