PHPackages                             krsque/php-ext-protobuf-stubs - 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. krsque/php-ext-protobuf-stubs

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

krsque/php-ext-protobuf-stubs
=============================

PHPStan / Psalm / PhpStorm stubs for ext-protobuf (the protobuf C extension for PHP)

35.0.0(1mo ago)04MITPHPPHP &gt;=8.2

Since Mar 29Pushed 2w agoCompare

[ Source](https://github.com/krsque/php-ext-protobuf-stubs)[ Packagist](https://packagist.org/packages/krsque/php-ext-protobuf-stubs)[ RSS](/packages/krsque-php-ext-protobuf-stubs/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (38)Used By (0)

krsque/php-ext-protobuf-stubs
=============================

[](#krsquephp-ext-protobuf-stubs)

PHPStan / Psalm / PhpStorm stubs for `ext-protobuf` v5.35.1.

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

[](#installation)

```
composer require --dev krsque/php-ext-protobuf-stubs:~35.1.0

```

Version convention
------------------

[](#version-convention)

Stubs versions map to `ext-protobuf` with the major version dropped: ext-protobuf `v5.35.1` → stubs `35.1.*`.

PHPStan
-------

[](#phpstan)

Works automatically if you have `phpstan/extension-installer`. Otherwise, add to your `phpstan.neon`:

```
includes:
    - vendor/krsque/php-ext-protobuf-stubs/extension.neon
```

Psalm
-----

[](#psalm)

Add to your `psalm.xml`:

```

```

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance95

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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 ~1 days

Recently: every ~13 days

Total

37

Last Release

39d ago

Major Versions

31.1.0 → 32.0.02026-03-29

32.1.0 → 33.0.02026-03-29

29.6.0 → 34.0.02026-03-29

33.6.0 → 34.1.02026-03-29

34.1.0 → 35.0.02026-05-20

PHP version history (2 changes)26.0.0PHP &gt;=8.1

34.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c15bcbc0ae84d7c4e5ce84c511c994cdbcb6e00306f30a348b99890ae625104e?d=identicon)[krsque](/maintainers/krsque)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (32 commits)")

---

Tags

PHPStanidestatic analysisstubsprotobufpsalm

### Embed Badge

![Health badge](/badges/krsque-php-ext-protobuf-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/krsque-php-ext-protobuf-stubs/health.svg)](https://phpackages.com/packages/krsque-php-ext-protobuf-stubs)
```

###  Alternatives

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

20115.0M380](/packages/php-stubs-wordpress-stubs)[phalcon/ide-stubs

The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.

1643.2M128](/packages/phalcon-ide-stubs)[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

953.3M91](/packages/php-stubs-woocommerce-stubs)[php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

302.7M118](/packages/php-stubs-wp-cli-stubs)[php-stubs/generator

Generate stubs from any PHP code for IDE completion and static analysis.

80318.6k61](/packages/php-stubs-generator)[php-stubs/wordpress-globals

Global variables and global constants from WordPress core.

13847.8k20](/packages/php-stubs-wordpress-globals)

PHPackages © 2026

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