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

Guard Bundle Laravel Package

knpuniversity/guard-bundle

KnpUGuardBundle is a Symfony bundle that integrates the Guard authentication component, making it easy to build custom authenticators for form login, API tokens, social sign-in, and other authentication flows with a flexible, well-documented interface.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. inherit for authentication. Authentication is table stakes, not a differentiator. This package’s history is the clearest argument for the “inherit” path: the functionality it pioneered was absorbed into Symfony core (Guard component in 2.8, replaced by the authenticator system in 5.3). The decision it supports is do not add an auth dependency you can get from the framework.
  • Tech-debt and modernization triage. Finding knpuniversity/guard-bundle in a composer.json is a high-signal indicator of a pre-2.8 Symfony application, likely on EOL PHP. That should trigger a roadmap epic, not a feature ticket.
  • Scope boundary between framework and product. It helps draw the line between authentication (a solved platform concern) and authorization, identity, and onboarding flows (where PM investment actually pays off).
  • Vendor/landscape benchmarking. Useful as a historical baseline when evaluating modern alternatives — Symfony Security, Laravel Fortify/Breeze/Sanctum, or hosted identity providers — for a platform consolidation decision.
  • What it does not support: no feature should be roadmapped on top of it. It is archived, last released 2015-06-28, 45 stars, 0 dependents — there is no support contract, no CVE response, and no community to lean on.

When to Consider This Package

  • Almost never for new work. The only defensible case is a legacy Symfony 2.x application already pinned to it, where a one-quarter stabilization is cheaper than a rewrite — and even then, the interim step should be migrating to core Guard, then to authenticators.
  • Not a Laravel package. Despite the “Laravel/PHP” framing, there is no service provider, no Laravel guard driver, no integration. Do not shortlist it for a Laravel stack; use Fortify, Breeze, or Sanctum.
  • Look elsewhere when: greenfield; Symfony 5.3+ (native authenticators); you need 2FA, passkeys, social login, or OIDC (dedicated bundles or a hosted IdP); or any security review applies — an unmaintained auth library is a liability, not a shortcut.
  • Look elsewhere given the ecosystem signals: zero dependents and a decade-old release mean no patches, no answers, and no recruiting pool.

How to Pitch It (Stakeholders)

  • To executives: “This is an archived, MIT-licensed component that was folded into Symfony core roughly a decade ago. Adopting it means adopting unsupported security code. Recommendation: no-go. If we find it in our estate, treat it as a modernization budget item, not a feature enabler.”
  • To engineering: “Use the platform: Symfony’s native Guard/authenticator system, or Fortify/Sanctum on Laravel. If this appears in a dependency tree, it’s a migration ticket with a clear upgrade path — the framework already replaced it.”
  • The one-line framing: this package’s value to us is diagnostic, not functional — what its presence tells us about a codebase is worth more than anything it does.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core