Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8259735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:55:57+00:00 2026-06-08T02:55:57+00:00

I am considering using symfony2 over flat php for my next project. I am,

  • 0

I am considering using symfony2 over flat php for my next project. I am, however, a little bit worried about a few things.
One of them is whether this will be a great challenge for me to learn:

I have to set up a system where I access a backend part to create user-accounts.

Each customer has a user account that will work like their admin. Then, within their control panel, they can create users within their company, and set login and password for them. I won’t, of course, restrict each company to only use usernames that no one else has used, so there must be one selector for the company and one for the username on the main login screen, alt. They will log in on a route, say site.com/company/.

I have no idea where to start or how complicate this will be to create. I have tested symfony2 around a little bit and for the main part (DB and templating) it seems just what I need.

Would one approach perhaps be to use usergroups, and set up the grouops=companies from my backend part, and let the companies add users to their group only?

There will also be access rights etc. In flat PHP I just control it through an access table user-contentpiece but perhaps symfony offers a smoother way…

Any enlightening comments for me? Is fosUserBundle a good option or should I build from scratch?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:55:59+00:00Added an answer on June 8, 2026 at 2:55 am

    I suppose that it isn’t a symfony2 problematique or FOSUserBundle one.
    You can take advantage of FOSUserBundle features and make some extra controls (by overwriting or extending existing methods) like i.e. before update or delete a user, is that authenticated user into same company of user that will be updated/deleted?
    Moreover you can modify FOSUserBundle’s User entity by adding an extra field that will be an external key with company id and make this plus user id new primary key for User entity.

    So, if you can “study” a little bit of Symfony and FOSUserBundle, that’s absolutely a good choice but build it from scratch (if you only need THAT functionlaity) is as much a good choice and exercise

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm considering using Express framework in my next node.js project. However, a stumbling block
I'm considering using the Google Contacts API for a webapp, but I'm worried that
I'm considering using Grails for my current project. I have a couple of requirements
I'm considering using the VB6 Common Controls Replacement Project controls and would like to
Am considering using it for a project. It keeps getting recommended to me. I
I'm considering using Core Data for an app I'm writing. However, after reading the
I am considering using Fluent NHibernate for my project and I haven't found any
I am considering using Maven for a Java open source project I manage. In
I'm considering using CouchDB for an upcoming site, but I'm a little confused as
I'm considering using the Word Automation Services feature of SharePoint 2010 for a project.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.