Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
byjg
/
php-authuser
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Version 6.0 - Major Architecture Refactoring and Enhanced Documentation
- #13
#13
Merged
byjg
merged 43 commits into
master
byjg/php-authuser:master
from
6.0
byjg/php-authuser:6.0
Copy head branch name to clipboard
Nov 25, 2025
Conversation
Commits
43
(43)
Checks
Files changed
Merged
Version 6.0 - Major Architecture Refactoring and Enhanced Documentation
#13
byjg
merged 43 commits into
master
byjg/php-authuser:master
from
6.0
byjg/php-authuser:6.0
Copy head branch name to clipboard
Commits
Commits on Nov 1, 2025
Add password generation feature; update Psalm configuration and dependencies; annotate overridden methods
byjg
committed
6c7aad2
View commit details
Copy full SHA for 6c7aad2
Browse repository at this point
Refactor `UserDefinition` to support `MapperFunctionInterface` for extensible field mapping; add new mappers (`ClosureMapper`, `PasswordSha1Mapper`, `UserIdGeneratorMapper`) and processors (`PassTh…
Show description for 6c160aa
byjg
committed
6c160aa
View commit details
Copy full SHA for 6c160aa
Browse repository at this point
Improve exception handling, replace deprecated methods with new implementations, enhance type hinting, support custom ID generation via `UniqueIdGeneratorInterface`, update test cases, and adjust d…
Show description for 6eaf527
byjg
committed
6eaf527
View commit details
Copy full SHA for 6eaf527
Browse repository at this point
Add `PasswordMd5MapperTest` to verify MD5 hashing behavior, ensure passwords are hashed or preserved correctly during save and update operations, and validate user login functionality.
byjg
committed
a2ee8f0
View commit details
Copy full SHA for a2ee8f0
Browse repository at this point
Change parameter type order in `UsersDBDataset` constructor to `DatabaseExecutor|DbDriverInterface` for improved type clarity.
byjg
committed
c6e09de
View commit details
Copy full SHA for c6e09de
Browse repository at this point
Commits on Nov 2, 2025
Migrate from `UniqueIdGeneratorInterface` to `MapperFunctionInterface` for custom key generation, update related methods and tests, replace deprecated messages, enhance type safety, and align with …
Show description for b3e8bcd
byjg
committed
b3e8bcd
View commit details
Copy full SHA for b3e8bcd
Browse repository at this point
Commits on Nov 6, 2025
Add comprehensive Docusaurus documentation and update README
Show description for 95ced77
claude
committed
95ced77
View commit details
Copy full SHA for 95ced77
Browse repository at this point
Move Dependencies section to end of README before footer
claude
committed
421ede1
View commit details
Copy full SHA for 421ede1
Browse repository at this point
Apply DRY pattern to documentation
Show description for 1e5e4b5
claude
committed
1e5e4b5
View commit details
Copy full SHA for 1e5e4b5
Browse repository at this point
Update Dependencies section to show only mermaid diagram
Show description for e9b21a2
claude
committed
e9b21a2
View commit details
Copy full SHA for e9b21a2
Browse repository at this point
Update installation.md by removing dependencies section
Show description for f6c5c2e
byjg
authored
f6c5c2e
View commit details
Copy full SHA for f6c5c2e
Browse repository at this point
Update authentication docs to recommend JWT-based authentication, deprecate `SessionContext` usage, and clarify differences for security and scalability.
byjg
committed
6b05653
View commit details
Copy full SHA for 6b05653
Browse repository at this point
Merge pull request #12 from byjg/claude/6.0-011CUsFnWv7Y75UH4Q9vfcPX
Show description for 31eb80c
byjg
authored
31eb80c
View commit details
Copy full SHA for 31eb80c
Browse repository at this point
Fix PSalm
byjg
committed
268b612
View commit details
Copy full SHA for 268b612
Browse repository at this point
Fix PSalm
byjg
committed
4d2daf2
View commit details
Copy full SHA for 4d2daf2
Browse repository at this point
Fix PSalm
byjg
committed
5368480
View commit details
Copy full SHA for 5368480
Browse repository at this point
Commits on Nov 12, 2025
Refactor `isAdmin` logic: move method to `UserModel`, update usages across codebase, remove redundant interfaces and exceptions, and adjust related tests and documentation.
byjg
committed
052bb18
View commit details
Copy full SHA for 052bb18
Browse repository at this point
Refactor user retrieval methods: consolidate `getById`, `getByEmail`, `getByUsername`, and `getByLoginField` into a single `get` method, update all references, adjust tests, and update documentatio…
Show description for 6df1a9f
byjg
committed
6df1a9f
View commit details
Copy full SHA for 6df1a9f
Browse repository at this point
Commits on Nov 15, 2025
Remove `UsersAnyDataset` and related tests, migrate example and documentation to `UsersDBDataset` for database-focused user management implementation.
byjg
committed
bdebf45
View commit details
Copy full SHA for bdebf45
Browse repository at this point
Merge remote-tracking branch 'origin/6.0' into 6.0
Show description for bc7e410
byjg
committed
bc7e410
View commit details
Copy full SHA for bc7e410
Browse repository at this point
Migrate to a repository-based architecture: replace `UsersAnyDataset` with `UsersRepository`, add `UserPropertiesRepository`, implement `UsersService` and interface for business logic, update `User…
Show description for 3b4552d
byjg
committed
3b4552d
View commit details
Copy full SHA for 3b4552d
Browse repository at this point
Remove deprecated user-related classes: delete `UserDefinition`, `UserPropertiesDefinition`, `UsersBase`, and `UsersDBDataset` to fully transition to repository-based architecture.
byjg
committed
6c59c2a
View commit details
Copy full SHA for 6c59c2a
Browse repository at this point
Refactor user role management: replace `admin` field with `role` field, update related methods (`isAdmin` -> `hasRole`), constructors, tests, and documentation to support flexible role definitions …
Show description for 709fb60
byjg
committed
709fb60
View commit details
Copy full SHA for 709fb60
Browse repository at this point
Add timestamp fields to `UserModel`: replace `created` field with `createdAt`, introduce `updatedAt` and `deletedAt` fields with proper mappers, and update tests and documentation accordingly.
byjg
committed
4e2b4f8
View commit details
Copy full SHA for 4e2b4f8
Browse repository at this point
Commits on Nov 16, 2025
Remove unused entity processors (`ClosureEntityProcessor`, `PassThroughEntityProcessor`), `NotImplementedException` class, update exceptions in `UsersRepository`, and refactor `UsersServiceInterfac…
Show description for 917ddf7
byjg
committed
917ddf7
View commit details
Copy full SHA for 917ddf7
Browse repository at this point
Refactor login field handling: replace string constants with `LoginField` enum, update `UsersService`, tests, and repository field mappings for consistency and validation.
byjg
committed
b54ffba
View commit details
Copy full SHA for b54ffba
Browse repository at this point
Add #[\Override] attribute to applicable methods and update type declarations for consistency in `UsersService`, `PasswordMd5Mapper`, and related tests.
byjg
committed
02032b9
View commit details
Copy full SHA for 02032b9
Browse repository at this point
Replace `HexUuidLiteral` with `Literal` in model attributes, method signatures, and dependencies across user-related classes, repositories, services, and tests for consistency. Update `PasswordSha1…
Show description for bf809f0
byjg
committed
bf809f0
View commit details
Copy full SHA for bf809f0
Browse repository at this point
Introduce `PasswordMapperInterface` for password encryption handling. Update `PasswordMd5Mapper` and `PasswordSha1Mapper` to implement the interface. Refactor `UsersService` to validate password ma…
Show description for 16cd805
byjg
committed
16cd805
View commit details
Copy full SHA for 16cd805
Browse repository at this point
Refactor documentation and `UsersService`: replace string-based login field constants with `LoginField` enum, enhance JWT token payloads, streamline password handling, update examples, and improve …
Show description for d919fd6
byjg
committed
d919fd6
View commit details
Copy full SHA for d919fd6
Browse repository at this point
Refactor documentation and `UsersService`: replace string-based login field constants with `LoginField` enum, enhance JWT token payloads, streamline password handling, update examples, and improve …
Show description for 79e07c4
byjg
committed
79e07c4
View commit details
Copy full SHA for 79e07c4
Browse repository at this point
Refactor `UsersService` to return `UserToken` instead of raw strings or arrays for token-related methods. Update documentation, examples, interface definitions, tests, and dependencies accordingly …
Show description for b40ec87
byjg
committed
b40ec87
View commit details
Copy full SHA for b40ec87
Browse repository at this point
Update `UserPropertiesModel` constructor to allow nullable `name` and `value` parameters.
byjg
committed
ad1535a
View commit details
Copy full SHA for ad1535a
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
ff33e8f
View commit details
Copy full SHA for ff33e8f
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
1c459b0
View commit details
Copy full SHA for 1c459b0
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
c32bdf2
View commit details
Copy full SHA for c32bdf2
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
d0896b5
View commit details
Copy full SHA for d0896b5
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
c7dabfe
View commit details
Copy full SHA for c7dabfe
Browse repository at this point
Refactor `UserPropertiesRepository`: integrate `UserProperty` enum for field mapping, update type handling, and enhance query processing with field mappers and update functions.
byjg
committed
7707b59
View commit details
Copy full SHA for 7707b59
Browse repository at this point
Commits on Nov 17, 2025
Refactor `UsersService`: enhance `resolveUserFieldValue` to support default values and improve token user field handling logic.
byjg
committed
1855fdd
View commit details
Copy full SHA for 1855fdd
Browse repository at this point
Refactor `UsersService` and tests: update `addUser` to support optional `role` parameter, enhance `resolveUserFieldValue` with improved default handling, and adjust workflows for compatibility.
byjg
committed
cb2d253
View commit details
Copy full SHA for cb2d253
Browse repository at this point
Refactor `UsersService` and tests: update `addUser` to support optional `role` parameter, enhance `resolveUserFieldValue` with improved default handling, and adjust workflows for compatibility.
byjg
committed
1c71d02
View commit details
Copy full SHA for 1c71d02
Browse repository at this point
Commits on Nov 23, 2025
Refactor `UserService`, `UserPropertiesRepository`, and workflows: enhance field mapping error handling, add type assertions, improve compatibility, and update dependencies and documentation for PH…
Show description for e2a0abc
byjg
committed
e2a0abc
View commit details
Copy full SHA for e2a0abc
Browse repository at this point
You can’t perform that action at this time.