PHPackages                             shinepress/stub-divider - 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. shinepress/stub-divider

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

shinepress/stub-divider
=======================

Tool for dividing stub files for static analysis

1.0.1(11mo ago)03.9k↑16.7%MITPHPPHP &gt;=8.1CI passing

Since Jun 5Pushed 11mo agoCompare

[ Source](https://github.com/shinepress/stub-divider)[ Packagist](https://packagist.org/packages/shinepress/stub-divider)[ RSS](/packages/shinepress-stub-divider/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (5)Used By (0)

shinepress/stub-divider
=======================

[](#shinepressstub-divider)

[![License](https://camo.githubusercontent.com/6812010177ae1763b65ec708d54c507899a8991f402d11a61c82c4d5b6ab6f83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368696e6570726573732f737475622d64697669646572)](https://github.com/shinepress/stub-divider/blob/main/LICENSE)[![Latest Version](https://camo.githubusercontent.com/d6aa63a7ca4d77477fbe610dfc9b34d981102b1b8a92cc5da40a7f2083a964c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368696e6570726573732f737475622d646976696465723f6c6162656c3d6c6174657374)](https://packagist.org/packages/shinepress/stub-divider/)[![PHP Version](https://camo.githubusercontent.com/b3c79d5e02b9f8714e5e5fe3d14ac914e065f57108ff45fef02d15cf93c66bc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f7368696e6570726573732f737475622d646976696465722f7068703f6c6162656c3d706870)](https://www.php.net/releases/index.php)[![Main Status](https://camo.githubusercontent.com/143ead5ddd3e5669ec84250d2c61bd29e2ed1c1fb22aacd4233b670001bf184b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7368696e6570726573732f737475622d646976696465722f7665726966792e796d6c3f6272616e63683d6d61696e266c6162656c3d6d61696e)](https://github.com/shinepress/stub-divider/actions/workflows/verify.yml?query=branch%3Amain)[![Release Status](https://camo.githubusercontent.com/e28b786cc2412b67188c934991262927f474d358a9741a2221264ff70e039d33/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7368696e6570726573732f737475622d646976696465722f7665726966792e796d6c3f6272616e63683d72656c65617365266c6162656c3d72656c65617365)](https://github.com/shinepress/stub-divider/actions/workflows/verify.yml?query=branch%3Arelease)[![Develop Status](https://camo.githubusercontent.com/2b27bba325446624e6deea4ff2657a1c95c0614d4b4e1aaac384860c0b409457/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7368696e6570726573732f737475622d646976696465722f7665726966792e796d6c3f6272616e63683d646576656c6f70266c6162656c3d646576656c6f70)](https://github.com/shinepress/stub-divider/actions/workflows/verify.yml?query=branch%3Adevelop)

Description
-----------

[](#description)

A tool for dividing up large stub files to speed up static analysis.

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

[](#installation)

The recommendend installation method is with composer:

```
$ composer require shinepress/stub-divider
```

Usage
-----

[](#usage)

Point the script at the stub file you want to divide:

```
$ ./vendor/bin/divide-stubs ./path/to/my-stubfile.php
```

Then register the autoloader as a bootstrap file in your phpstan config:

```
parameters:
    bootstrapFiles:
        - ./my-stubfile/autoload.php
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance51

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~5 days

Total

2

Last Release

342d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8301342?v=4)[Shine United](/maintainers/shineunited)[@shineunited](https://github.com/shineunited)

---

Top Contributors

[![rmlasseter](https://avatars.githubusercontent.com/u/5660821?v=4)](https://github.com/rmlasseter "rmlasseter (15 commits)")[![shineadmin](https://avatars.githubusercontent.com/u/3662582?v=4)](https://github.com/shineadmin "shineadmin (1 commits)")

---

Tags

PHPStanstub

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/shinepress-stub-divider/health.svg)

```
[![Health](https://phpackages.com/badges/shinepress-stub-divider/health.svg)](https://phpackages.com/packages/shinepress-stub-divider)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)

PHPackages © 2026

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