shinepress/stub-divider

Tool for dividing stub files for static analysis

Installs: 1 165

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

1.0.0 2025-06-05 16:06 UTC

This package is auto-updated.

Last update: 2025-06-05 16:08:28 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