Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Uid User Bundle

Uid User Bundle Laravel Package

l3/uid-user-bundle

A Symfony bundle for UID-based user management, providing user entities, authentication integration, and account handling for applications that identify users by unique ID. Lightweight and easy to wire into existing Symfony projects.

View on GitHub
Deep Wiki
Context7

l3/uid-user-bundle is a Symfony bundle that adds UID-based user management to your application. It provides the entities, services, and configuration needed to identify users by a unique identifier, making it easy to integrate authentication and user handling into existing projects without building the foundation from scratch.

The bundle focuses on clean separation of concerns, letting you extend and override default behavior while keeping your domain model intact.

  • UID user entity with sensible defaults, ready to extend
  • Service-based architecture for easy injection and testing
  • Configurable through standard bundle configuration
  • Symfony-native integration with security and Doctrine
  • Extensible design for custom fields and logic
Frequently asked questions about Uid User Bundle
Is l3/uid-user-bundle a Laravel package or a Symfony bundle?
The package name, vendor, and description strongly indicate a Symfony bundle rather than a Laravel package. It is described as a user provider for CAS that returns only the UID, with no Laravel service provider or guard mechanism mentioned. Verify the composer.json framework requirements before assuming it can be installed in a Laravel application.
Can I use l3/uid-user-bundle with Laravel's Auth guard?
Not directly. Laravel has no Symfony bundle registration mechanism, so the provider would need to be forked and ported to a custom guard or Auth::extend implementation. For a Laravel codebase, implementing CAS directly with apereo/phpcas or an existing Laravel CAS package is usually cleaner than porting this bundle.
How do I install and configure l3/uid-user-bundle for CAS login?
In a Symfony application, install it with Composer and wire the user provider into security.yaml along with the CAS host, service URL, and validation endpoint. The exact configuration keys should be confirmed in the repository documentation, since the available README excerpt is empty. Also check PHP and framework constraints, PSR-4 autoloading, and the service definition format before committing.
What does UID-only authentication mean for user profiles and roles?
The package intentionally returns only the CAS UID and does not hydrate attributes such as display name, email, roles, or group membership. Every downstream user attribute must be sourced separately, for example from LDAP, an HR system, or a local database. Without that second integration, partial provisioning can produce authenticated users with empty profiles.
Which PHP, Symfony, and Laravel versions are supported?
No Laravel support is documented, and the package appears to target Symfony only. The assessment notes that the last release was December 2023, so framework-version currency must be verified rather than assumed. Pin PHP and framework versions explicitly and test against a version matrix before adopting it.
What license does l3/uid-user-bundle use, and is commercial use allowed?
The reported license is NOASSERTION, meaning there is no confirmed OSI-compatible license. That is a hard blocker in many enterprises because legal teams cannot approve use without a clear license. Confirm the actual license with the repository and legal counsel before adding the package to any commercial project.
How are users provisioned when a CAS UID is not found locally?
The package description does not define provisioning behavior, so the application must decide whether to auto-create a stub user, reject the login, or call a provisioning hook. A common pattern is to resolve the UID to a local user record through a separate service. Design this path carefully because UID-only authentication does not supply attributes for account creation.
How can I test CAS authentication with this bundle?
Test against a CAS test server or mock the user provider so ticket validation and unknown-UID paths can be exercised reliably. Cover TLS certificate validation, ticket replay handling, failed validation, and logout behavior, since these are inherited from the underlying CAS client. The supplied assessment does not include test coverage details, so inspect the repository's tests before relying on them.
Is l3/uid-user-bundle actively maintained and safe for production?
The assessment reports a last release in December 2023, zero stars, zero dependents, and a single small maintainer organization. For an authentication-adjacent component, that quiet period raises concerns about CVE response cadence and framework-version updates. There is also no visible third-party security audit or disclosure policy, so production use requires your own risk review.
What are better alternatives for CAS authentication in Laravel?
For Laravel, skip this Symfony bundle and implement CAS natively using apereo/phpcas behind a custom Auth guard, with a users table keyed on the CAS UID. You can also evaluate existing Laravel CAS packages if they are actively maintained and license-compatible. If you are on Symfony, the bundle is architecturally feasible but should still be paired with a separate UID-to-user provisioning service.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect