PHPackages                             infinum/eightshift-libs-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. infinum/eightshift-libs-stubs

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

infinum/eightshift-libs-stubs
=============================

PHPStan stubs for eightshift-libs project

0.8.0(3y ago)02.2kMITPHP

Since Jul 24Pushed 3y ago5 watchersCompare

[ Source](https://github.com/infinum/eightshift-libs-stubs)[ Packagist](https://packagist.org/packages/infinum/eightshift-libs-stubs)[ RSS](/packages/infinum-eightshift-libs-stubs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (0)

Eightshift Libs Stubs
=====================

[](#eightshift-libs-stubs)

This package offers PHPStan stubs for the use with Eightshift Frontend Libs. Currently, it only holds the `Helpers`stubs, since those are the only ones needed for inspections inside the block files.

Usage
-----

[](#usage)

Install them using composer as

```
composer require infinum/eightshift-libs-stubs --dev
```

Then, while developing you should add the stubs to `phpstan.neon.dist`

```
parameters:
	bootstrapFiles:
		- %currentWorkingDirectory%/vendor/infinum/eightshift-libs-stubs/eightshift-libs-stubs.php
```

Modification of the stub generation
-----------------------------------

[](#modification-of-the-stub-generation)

The stubs are using the [PHP Stub Generator](https://github.com/Setasign/php-stub-generator). In order to generate the new or updated stubs, you'll need to update the `eightshift-libs` inside the composer.json, and then generate new stubs using

```
php generate.php
```

This will create the `eightshift-libs-stubs.php` file.

License
-------

[](#license)

Eightshift Libs Stubs ©2022 Eightshift and Infinum. It is free software, and may be redistributed under the terms specified in the LICENSE file.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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 ~33 days

Recently: every ~11 days

Total

13

Last Release

1361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75e8c41a7bd5e452e4b6b8dbbcb0c7f2a2eca117ee7c2dc1bbd4a100cc9494ce?d=identicon)[infinum](/maintainers/infinum)

---

Top Contributors

[![dingo-d](https://avatars.githubusercontent.com/u/8638515?v=4)](https://github.com/dingo-d "dingo-d (28 commits)")[![iruzevic](https://avatars.githubusercontent.com/u/23283324?v=4)](https://github.com/iruzevic "iruzevic (3 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![MetarDev](https://avatars.githubusercontent.com/u/41570713?v=4)](https://github.com/MetarDev "MetarDev (1 commits)")

---

Tags

PHPStanwordpressstatic analysisEightshifteightshift-libs

### Embed Badge

![Health badge](/badges/infinum-eightshift-libs-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/infinum-eightshift-libs-stubs/health.svg)](https://phpackages.com/packages/infinum-eightshift-libs-stubs)
```

###  Alternatives

[php-stubs/woocommerce-stubs

WooCommerce function and class declaration stubs for static analysis.

942.9M66](/packages/php-stubs-woocommerce-stubs)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)[php-stubs/wp-cli-stubs

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

302.3M79](/packages/php-stubs-wp-cli-stubs)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M898](/packages/szepeviktor-phpstan-wordpress)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[php-stubs/wordpress-globals

Global variables and global constants from WordPress core.

13799.0k17](/packages/php-stubs-wordpress-globals)

PHPackages © 2026

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