PHPackages                             phptdgram/adapter-ffi - 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/adapter-ffi

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

phptdgram/adapter-ffi
=====================

PHP TD Gram PHP 7.4 FFI Adapter

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

Since Apr 13Pushed 6y ago1 watchersCompare

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

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

AdapterFfi
==========

[](#adapterffi)

[![Latest Version on Packagist](https://camo.githubusercontent.com/101735fc41f58e615211f6855093be5982e31e5b4b99c0cafb7c4efdc2a10e6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687074646772616d2f616461707465722d6666692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phptdgram/adapter-ffi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/cb168d80cc29f89dd3a5368f7b831254c4b0c1b30f3af504155e711d9079f199/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f70687074646772616d2f616461707465722d6666692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/phptdgram/adapter-ffi)[![Code Quality](https://camo.githubusercontent.com/f08b47d03503bddffe7dc3a712b6c66f0e8f5147e78b78b32023f308e148c6c2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f70687074646772616d2f616461707465722d6666693f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phptdgram/adapter-ffi)[![Total Downloads](https://camo.githubusercontent.com/4cec7fb01b7bc753fe8bd338f9d2c69e4074a693f48ad6d0152875e68575f893/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70687074646772616d2f616461707465722d6666692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phptdgram/adapter-ffi/stats)

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

The PHP TD Gram PHP 7.4 FFI `libtdjson` Adapter

Install
-------

[](#install)

Via Composer

```
$ composer require phptdgram/adapter-ffi
```

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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

2271d 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

adaptertelegramffitdlibphptdgram

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/phptdgram-adapter-ffi/health.svg)

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

###  Alternatives

[aimeos/aimeos-base

Aimeos base layer for abstracting from host environments

2.2k147.3k3](/packages/aimeos-aimeos-base)[symfony/telegram-notifier

Symfony Telegram Notifier Bridge

73991.5k7](/packages/symfony-telegram-notifier)[php-telegram-bot/inline-keyboard-pagination

PHP Telegram Bot InlineKeyboard Pagination

299.5k1](/packages/php-telegram-bot-inline-keyboard-pagination)[ffi/var-dumper

List of symfony/var-dumper casters with FFI support

2011.3k4](/packages/ffi-var-dumper)[williamson/laragram

A Laravel Wrapper for telegram-cli

282.8k](/packages/williamson-laragram)[foysal50x/h3-php

PHP FFI bindings for Uber's H3 hexagonal hierarchical geospatial indexing system

139.4k](/packages/foysal50x-h3-php)

PHPackages © 2026

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