PHPackages                             phptdgram/schema-generator - 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. phptdgram/schema-generator

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

phptdgram/schema-generator
==========================

A PHP TD Gram Schema Generator tool to generate Schema classes from td\_api.tl file.

1.0.0(6y ago)051MITPHPPHP ^7.4||^8.0

Since Apr 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phptdgram/schema-generator)[ Packagist](https://packagist.org/packages/phptdgram/schema-generator)[ Docs](https://github.com/phptdgram/schema-generator)[ RSS](/packages/phptdgram-schema-generator/feed)WikiDiscussions master Synced today

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

SchemaGenerator
===============

[](#schemagenerator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3220f7279bb3611f5c0f593e2dcf3598668c28d153bfbe739a9cfa683a9c045f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687074646772616d2f736368656d612d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phptdgram/schema-generator)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/861018201642eeffdea06510ce4ff9760e9fbf92a855fe08731e614d0f40ba93/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f70687074646772616d2f736368656d612d67656e657261746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/phptdgram/schema-generator)[![Code Quality](https://camo.githubusercontent.com/befad36886ed79bd4fc3c8446945ed994db6aca255da9c149d0bc5409cfa4d78/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f70687074646772616d2f736368656d612d67656e657261746f723f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phptdgram/schema-generator)[![Total Downloads](https://camo.githubusercontent.com/aa5111efcc065cdfce88802b69ddf0e7f10c46182731f583c66e39e07227dd66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70687074646772616d2f736368656d612d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phptdgram/schema-generator/stats)

[![Email](https://camo.githubusercontent.com/e3e4a46ec999fd7bad8871d0ce2a60123a3b8a79f04c305bfb2b976482bbcfbb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f656d61696c2d617572696d6173406e69656b69732e6c742d626c75652e7376673f7374796c653d666c61742d737175617265)](mailto:aurimas@niekis.lt)

The PHP TD Gram Schema Generator tool to generate Schema classes from [td\_api.tl](https://github.com/tdlib/td/blob/master/td/generate/scheme/td_api.tl) file.

Install
-------

[](#install)

Via Composer

```
$ composer require phptdgram/schema-generator
```

Using
-----

[](#using)

```
$ git clone git@github.com:phptdgram/schema.git shema
$ ./bin/schema-generator
$ cd ./schema
$ composer install
$ composer cs-fix
```

Testing
-------

[](#testing)

Run PHP style checker

```
$ composer cs-check
```

Run PHP style fixer

```
$ composer cs-fix
```

Run all continuous integration tests

```
$ composer ci-run
```

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

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

2219d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/770bae1f46ac2b4536db820b8642491c25e2e2fd44e761110269e4722679a80d?d=identicon)[aurimasniekis](/maintainers/aurimasniekis)

---

Top Contributors

[![aurimasniekis](https://avatars.githubusercontent.com/u/15481?v=4)](https://github.com/aurimasniekis "aurimasniekis (1 commits)")

---

Tags

telegramtdlibschema generatortd-apiphptdgramschma

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/phptdgram-schema-generator/health.svg)

```
[![Health](https://phpackages.com/badges/phptdgram-schema-generator/health.svg)](https://phpackages.com/packages/phptdgram-schema-generator)
```

###  Alternatives

[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[williamson/laragram

A Laravel Wrapper for telegram-cli

282.8k](/packages/williamson-laragram)

PHPackages © 2026

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