Weave Code
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

User Bundle Laravel Package

aescarcha/user-bundle

Symfony bundle wrapping FOSUserBundle and HWIOAuth to provide ready-to-use user entities/repositories, Facebook OAuth support, and a REST API for users (requires FOSRestBundle and Fractal). Includes basic configuration examples; tests/TODOs pending.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • User Management Consolidation: Streamline authentication, profile management, and OAuth (e.g., Facebook) into a single, maintainable bundle, reducing technical debt from scattered implementations.
  • REST API for User Data: Enable headless or mobile-first access to user profiles without building a custom API layer, accelerating time-to-market for frontend apps or third-party integrations.
  • Symfony Ecosystem Alignment: Leverage existing FOSUserBundle/HWI OAuth infrastructure while adding a thin abstraction layer for consistency (e.g., custom User entity, profile forms).
  • Roadmap Prioritization:
    • Build vs. Buy: Justify adopting this over building a bespoke solution if the team lacks Symfony expertise or needs rapid OAuth/REST integration.
    • MVP Expansion: Use as a foundation to later extend with features like role-based access control (RBAC), audit logging, or multi-provider OAuth.
  • Use Cases:
    • SaaS platforms needing scalable user management with social logins.
    • Internal tools requiring user profiles with REST endpoints for frontend frameworks (React, Vue).
    • Projects where FOSUserBundle’s complexity is a barrier but its features are desired.

When to Consider This Package

  • Adopt When:
    • Your stack is Symfony-based and you’re already using FOSUserBundle/HWI OAuth.
    • You need Facebook OAuth + REST API with minimal setup (avoids reinventing Fractal/FOSRestBundle integration).
    • Your team prioritizes developer velocity over customization (e.g., no need for unique user fields beyond Facebook’s default).
    • You’re okay with limited community support (0 stars) but the bundle’s maturity (README, config examples) meets your risk tolerance.
  • Look Elsewhere If:
    • You require multi-provider OAuth (only Facebook is configured out-of-the-box).
    • Your project needs advanced features (e.g., email verification, passwordless login) not covered by FOSUserBundle’s defaults.
    • You’re not using Symfony or need broader language support (e.g., Laravel, Node.js).
    • You need high customization (e.g., complex user roles, multi-tenancy) and prefer a more flexible base like API Platform or Laravel Sanctum.
    • Your team lacks Symfony experience and the learning curve for FOSUserBundle/HWI is prohibitive.

How to Pitch It (Stakeholders)

For Executives:

"This bundle lets us ship user authentication, Facebook logins, and a REST API for user profiles 30–50% faster than building from scratch, while leveraging battle-tested Symfony components. It’s ideal for [use case: e.g., our SaaS MVP or internal dashboard], reducing dev costs and technical risk. The trade-off? Limited customization upfront, but we can extend it later as needed."

For Engineering:

*"This wraps FOSUserBundle + HWI OAuth with a REST API layer (using Fractal/FOSRestBundle), giving us:

  • Out-of-the-box: Facebook OAuth, user entities, and a profile form.
  • Integration: Plugs into Symfony’s security system with minimal config.
  • Future-proof: We can swap or extend the underlying FOSUserBundle if needs evolve. Downside: Zero stars, but the codebase is straightforward (README-driven). Let’s prototype it for [specific feature] and compare to [alternative]."*

Key Metric to Track: Time saved vs. custom implementation (e.g., "This cut our OAuth+API dev time from 4 weeks to 2").

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.
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver