Happy New Year! ... and I am doing pull request "Add *** to export-ignore list" in 2026.. sigh 😅

https://github.com/infection/infection/pull/2769
https://github.com/webmozarts/assert/pull/333

Add phpbench.json to export-ignore list by sasezaki · Pull Request #2769 · infection/infection

This PR: Adds new feature ... maybe improvements.. PHPBench was introduced in #2516. phpbench.json is no longer needed in the distribution, just like other QA tool configuration files.

GitHub
I recently discovered a tool called `dist-size-optimizer` for PHP.
https://github.com/savinmikhail/dist-size-optimizer
However, I personally think this is a dist issue not only PHP for "non-compiled" lang packages, so I feel like there might be a simpler solution...
Since the gh command can list files (`Example: `
gh api repos/laminas/laminas-hydrator/tarball/HEAD | tar -tzf - | grep -v src`), it seems possible to detect unnecessary files by using a combination of commands for a temporary check.