Skip to content
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 into
mainfrom
claude/rename-bspdx-namespace-01PDg9n6Wgh8DJcPAUdqRZkB
Nov 19, 2025
Merged

jvjvjv merged 1 commit into
mainfrom
claude/rename-bspdx-namespace-01PDg9n6Wgh8DJcPAUdqRZkB

Conversation

@jvjvjv

@jvjvjv jvjvjv commented Nov 19, 2025

Copy link
Copy Markdown
Contributor
  • 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

- 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
Copilot AI review requested due to automatic review settings November 19, 2025 03:05
@jvjvjv
jvjvjv merged commit 3c852fa into main Nov 19, 2025
9 checks passed
@jvjvjv
jvjvjv deleted the claude/rename-bspdx-namespace-01PDg9n6Wgh8DJcPAUdqRZkB branch November 19, 2025 03:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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\AuthKit to Bspdx\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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants