shinepress/stub-divider

Tool for dividing stub files for static analysis

Maintainers

Package info

github.com/shinepress/stub-divider

Type:project

pkg:composer/shinepress/stub-divider

Statistics

Installs: 3 874

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2025-06-10 22:12 UTC

This package is auto-updated.

Last update: 2026-03-11 00:05:55 UTC


README

License Latest Version PHP Version Main Status Release Status Develop Status

Description

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

Installation

The recommendend installation method is with composer:

$ composer require shinepress/stub-divider

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