PHPackages                             salimid/php-telegraph-client - 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. [API Development](/categories/api)
4. /
5. salimid/php-telegraph-client

ActiveLibrary[API Development](/categories/api)

salimid/php-telegraph-client
============================

The PHP Telegraph Client is a set of simple classes to interact with Telegra.ph.

v0.1.0(3y ago)110MITPHP

Since Jan 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/salimromadhon/php-telegraph-client)[ Packagist](https://packagist.org/packages/salimid/php-telegraph-client)[ RSS](/packages/salimid-php-telegraph-client/feed)WikiDiscussions master Synced 3w ago

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

PHP Telegraph Client
====================

[](#php-telegraph-client)

The PHP Telegraph Client is a set of simple classes to interact with [Telegra.ph](https://telegra.ph/).

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

[](#installation)

```
composer require salimid/php-telegraph-client

```

Usage
-----

[](#usage)

```
use SalimId\Telegraph\Account;
use SalimId\Telegraph\Page;

$account = Account::create([
    'short_name' => 'John',
    'author_name' => 'John Doe',
]);

$account = Account::find('d3b25feccb89e508a9114afb82aa421fe2a9712b963b387cc5ad71e58722');

$account->short_name = 'JD';
$account->save()->revoke();

$page = $account->page()->create(['title' => 'Hello World']);

$pages = $account->pages();

$page = $pages->first()->refresh();
$page->title = 'My First Post';
$page->save();

$account->use();

$page = Page::find('Path-to-Page-XX-XX');

$page = new Page;
$page->title = 'My Second Post';
$page->save();

$popular = $account->pages()->sortBy('views')->reverse()->first()->refresh();
$popular->title = 'This Post Got ' . $popular->views . ' Views';
$popular->save();
```

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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

1266d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4891012?v=4)[Salim Romadhon](/maintainers/salimromadhon)[@salimromadhon](https://github.com/salimromadhon)

---

Top Contributors

[![salimromadhon](https://avatars.githubusercontent.com/u/4891012?v=4)](https://github.com/salimromadhon "salimromadhon (33 commits)")

---

Tags

telegramtelegraphtelegraph-apitelegraph-client

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/salimid-php-telegraph-client/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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