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(1y ago)04.2k↑40.5%MITPHPPHP &gt;=8.1CI passing

Since Jun 5Pushed 1y 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 yesterday

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

34

—

LowBetter than 75% of packages

Maintenance48

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

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

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k28.9M2.4k](/packages/infection-infection)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)

PHPackages © 2026

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