PHPackages                             p7v/telegraph-api - 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. p7v/telegraph-api

ActiveLibrary[API Development](/categories/api)

p7v/telegraph-api
=================

1.0.1(4y ago)13MITPHP

Since Dec 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/p-seven-v/telegraph-api)[ Packagist](https://packagist.org/packages/p7v/telegraph-api)[ RSS](/packages/p7v-telegraph-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Telegra.ph API for PHP
======================

[](#telegraph-api-for-php)

[![Packagist](https://camo.githubusercontent.com/e5921f938ea2ef7ad87b9a4e10c02a0b44f73d26984de158b090ba0718562d9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7037762f74656c6567726170682d6170692e737667)](https://packagist.org/packages/p7v/telegraph-api)[![License](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](LICENSE.md)

This package lets you work with [telegra.ph](http://telegra.ph) API.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Roadmap](#roadmap)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Disclaimer
----------

[](#disclaimer)

^1.0 version here is a copy of deploykit/telegraph-api project. That package is discontinued in favor of this one. This package replaces that one, and for backward compatibility it even contains legacy namespace.

^2.0 will have it changed to correspond to vendor name - P7V.

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

[](#installation)

To get the latest version of Telegra.ph API client simply require the project using [Composer](https://getcomposer.org):

```
$ composer require p7v/telegraph-api
```

Or you can manually update your require block and run `composer update` if you choose so:

```
{
    "require": {
        "p7v/telegraph-api": "^1.0"
    }
}
```

Usage
-----

[](#usage)

All methods in Telegraph Client class correspond to API methods that are described in [Telegraph API documentation](http://telegra.ph/api).

```
$telegraph = new \Deploykit\Telegraph\Client();

$telegraph->createAccount('Author', 'Author name', 'http://example.com');
```

All entities' classes implement ArrayAccess, so any property of any class can be accessed either in object style or in array style. For all methods that require `access_token`, you can either provide a string with your token or provide instance of `\Deploykit\Telegraph\Entities\Account` class.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Roadmap
-------

[](#roadmap)

All future features are documented in [Roadmap GitHub project](https://github.com/p7v/telegraph-api/projects/1).

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Alexey Plekhanov](https://github.com/alexsoft)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Every ~0 days

Total

3

Last Release

1608d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b007906f72b36ec7614b7a0a5d4455e5e40c2fdfc3c7e4b9b3d605c379664b7?d=identicon)[alexsoft](/maintainers/alexsoft)

---

Top Contributors

[![alexsoft](https://avatars.githubusercontent.com/u/1451894?v=4)](https://github.com/alexsoft "alexsoft (19 commits)")

### Embed Badge

![Health badge](/badges/p7v-telegraph-api/health.svg)

```
[![Health](https://phpackages.com/badges/p7v-telegraph-api/health.svg)](https://phpackages.com/packages/p7v-telegraph-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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