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
Login Cidadao Badges Bundle

Login Cidadao Badges Bundle Laravel Package

procergs/login-cidadao-badges-bundle

A Symfony bundle from Procergs that adds badge support to Login Cidadão, helping applications manage and display achievement badges for authenticated users. It integrates badge functionality into the Login Cidadão authentication ecosystem for simpler adoption.

View on GitHub
Deep Wiki
Context7

procergs/login-cidadao-badges-bundle is a PHP/Symfony bundle that adds Login Cidadão badge support to your application. It simplifies badge configuration and presentation alongside the Login Cidadão authentication flow, helping you recognize user achievements or roles without building custom integration code.

  • Seamless Login Cidadão OAuth integration
  • Configurable badge types and display options
  • Badge presentation helpers for templates
  • Symfony service and configuration integration
  • Lightweight setup for existing applications
Frequently asked questions about Login Cidadao Badges Bundle
How do I install procergs/login-cidadao-badges-bundle with Composer?
Install it with composer require procergs/login-cidadao-badges-bundle. Because the 3.0.0 release centers on a new BadgeInterface, pin the version you have evaluated instead of floating to latest. After installation, confirm whether the package registers a service provider automatically or needs manual registration, and publish any config or views before wiring badge rendering into your app.
Is login-cidadao-badges-bundle compatible with Laravel or only Symfony?
The package is published as a PHP/Symfony bundle for Login Cidadão badge support, and the available overview describes Symfony-style integration. Laravel compatibility depends on whether it ships an Illuminate service provider and a Blade-facing API, so verify that explicitly before adopting it. If it does not, treat Laravel adoption as custom integration work rather than a supported path.
Which Laravel and PHP versions does login-cidadao-badges-bundle support?
The repository does not document a complete Laravel and PHP support matrix in the provided information. The 3.0.0 release note only mentions adopting the new BadgeInterface, leaving the PHP floor, Laravel major constraints, and dependency bounds unstated. Before scoping an upgrade, inspect composer.json constraints and the CI matrix, and test against your exact Laravel and PHP pins.
How do I configure Login Cidadão badge credentials in Laravel?
Configuration details are not fully described in the available material, so start by checking for a published config file and documented credential keys. Login Cidadão badge support typically requires client or application credentials issued by the identity provider, which should be stored in environment variables rather than committed config. Run vendor:publish where applicable and confirm the package reads from config and environment correctly in each environment.
How do I render a Login Cidadão badge in a Blade template?
Badge rendering is described as exposed through a Blade/Illuminate-facing API, such as a component, facade, or helper, but the exact syntax is not documented in the provided excerpt. Check the package source and README for the supported rendering entry point, then use that API in your Blade template. Avoid reaching into internal classes directly so a future interface change has a smaller blast radius.
What changed in login-cidadao-badges-bundle 3.0.0 with BadgeInterface?
Version 3.0.0 states it is using the new BadgeInterface, moving the extension point to a formal contract. That is a breaking change class under semver because any class that implemented or extended the previous abstraction must be updated to implement the new interface. The note does not list method signatures, parameter names, return types, or nullability, so diff the interface against your implementations before upgrading.
How do I upgrade login-cidadao-badges-bundle from 2.x to 3.0.0?
Do not upgrade in place. Inventory internal implementations and facade or alias usage, pin the current 2.x line with an explicit upper bound, then branch an upgrade spike against 3.0.0. Introduce a thin first-party adapter so application code depends on your own contract, and only promote the upgrade after tests pass against the exact Laravel and PHP versions you deploy.
How do I test Login Cidadão badge authentication in Laravel?
Test badge authentication with a fake or stubbed badge provider rather than calling the real Login Cidadão service in CI. Assert both the success path and failure paths such as missing or invalid badge data, and cover any custom BadgeInterface implementation directly. If you rely on named arguments, add tests that exercise those call sites so parameter renames in a future release fail loudly.
What are the production and security concerns for login-cidadao-badges-bundle?
Treat badge authentication as security-sensitive: validate all badge data server-side and never trust values passed from the browser. Store provider credentials in environment variables or a secret manager, and keep the package pinned because the 3.0.0 release does not describe a security disclosure channel or deprecation policy. Review the repository for an explicit security contact before production use.
Is login-cidadao-badges-bundle actively maintained, and are there alternatives?
Maintenance posture is unclear from the available information: the 3.0.0 note is a single sentence and no changelog, upgrade guide, or support window is referenced. That suggests a small or immature release process, so pin conservatively and re-evaluate once maintainer cadence and documentation improve. If you need a supported alternative, confirm whether a maintained 2.x line exists to pin to while you scope the upgrade.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
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
cgv/localized-resource