This repository was archived by the owner on Jan 25, 2026. It is now read-only.
Rename BSPDX namespace to Bspdx - #5
Merged
jvjvjv merged 1 commit intoNov 19, 2025
Merged
Conversation
- Update namespace declarations in all PHP source files - Update composer.json autoload mappings and service provider - Update use statements in routes and example files - Update documentation examples in README.md - Regenerate composer autoload files This is a breaking change for existing users who will need to: 1. Update their use statements from BSPDX\AuthKit to Bspdx\AuthKit 2. Run composer dump-autoload
jvjvjv
deleted the
claude/rename-bspdx-namespace-01PDg9n6Wgh8DJcPAUdqRZkB
branch
November 19, 2025 03:07
There was a problem hiding this comment.
Pull Request Overview
This pull request performs a comprehensive namespace rename from BSPDX\AuthKit to Bspdx\AuthKit throughout the entire codebase, following PSR-4 naming conventions. This is a breaking change that requires downstream users to update their imports and regenerate Composer autoload files.
Key Changes:
- Renamed all PHP namespace declarations from
BSPDX\AuthKittoBspdx\AuthKit - Updated Composer PSR-4 autoload mappings for both production and test namespaces
- Updated all documentation and code examples to reflect the new namespace
Reviewed Changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/View/Components/TwoFactorChallenge.php | Updated namespace declaration |
| src/View/Components/RegisterForm.php | Updated namespace declaration |
| src/View/Components/PasskeyRegister.php | Updated namespace declaration |
| src/View/Components/PasskeyLogin.php | Updated namespace declaration |
| src/View/Components/LoginForm.php | Updated namespace declaration |
| src/Traits/HasAuthKit.php | Updated namespace declaration |
| src/Http/Middleware/EnsureTwoFactorEnabled.php | Updated namespace declaration |
| src/Http/Middleware/EnsureHasRole.php | Updated namespace declaration |
| src/Http/Middleware/EnsureHasPermission.php | Updated namespace declaration |
| src/Http/Controllers/TwoFactorAuthController.php | Updated namespace declaration |
| src/Http/Controllers/RolePermissionController.php | Updated namespace declaration |
| src/Http/Controllers/PasskeyAuthController.php | Updated namespace declaration |
| src/AuthKitServiceProvider.php | Updated namespace declaration, use statements, and Blade component registrations |
| routes/web.php | Updated controller use statements |
| routes/api.php | Updated controller use statements |
| composer.json | Updated PSR-4 autoload mappings for Bspdx\AuthKit and service provider reference |
| bootstrap/providers.php | Updated service provider class reference |
| app/Models/User.php | Updated HasAuthKit trait import |
| README.md | Updated documentation examples with new namespace |
| resources/views/splash.blade.php | Updated code example in installation instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a breaking change for existing users who will need to: