Skip to content

Rename the vendor namespace to MathiasGrimm - #25

Merged
mathiasgrimm merged 1 commit into
mainfrom
feat/vendor-namespace-mathiasgrimm
Jul 20, 2026
Merged

Rename the vendor namespace to MathiasGrimm#25
mathiasgrimm merged 1 commit into
mainfrom
feat/vendor-namespace-mathiasgrimm

Conversation

@mathiasgrimm

Copy link
Copy Markdown
Owner

What

Mathiasgrimm\Netwatch becomes MathiasGrimm\Netwatch everywhere (src, tests, stubs, docs, README, composer autoload, the Laravel provider registration). The Composer package name stays mathiasgrimm/netwatch.

Why

PSR-4 vendor namespaces are StudlyCaps per word (NunoMaduro\, BeyondCode\), and the other packages already use MathiasGrimm\ (Puff). The mixed casing is not just cosmetic: PHP resolves namespaces case-insensitively, but Wayfinder writes one generated directory per vendor segment, and on macOS's case-insensitive filesystem MathiasGrimm/ and Mathiasgrimm/ collapse into one directory whose index gets mangled, breaking npm run types:check in glimpseimg.com locally.

Breaking change

Consumers must update imports. Release as v2.0.0. A follow-up PR in glimpseimg.com updates config/netwatch.php and the composer constraint; its lock bump needs this tag first.

132 tests pass.

🤖 Generated with Claude Code

Mathiasgrimm\Netwatch becomes MathiasGrimm\Netwatch, matching the PSR-4
convention for vendor namespaces and the casing the other mathiasgrimm
packages use. The mixed casing also broke Wayfinder's generated action
directories on case-insensitive filesystems, where MathiasGrimm/ and
Mathiasgrimm/ collapse into one mangled directory.

Breaking change: consumers must update their imports. Release as
v2.0.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mathiasgrimm
mathiasgrimm merged commit 0d6ce86 into main Jul 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant