Skip to content

alexander-arce/UserAdminBundle

 
 

Repository files navigation

Crunch\UserAdminBundle

Total Downloads Latest Stable Version

This bundle integrates vanilla-FOSUserBundle: 2.x models into SonataAdmin.

If you already use SonataUserBundle you probably don't want to use this. If you think about to use SonataUserBundle, you can also read my motivation to create this bundle.

  • SonataUserBundle is currently not compatible to FOSUserBundle version 2. This is of course fixable :)
  • SonataUserBundle comes with additional features, which is not bad by itself, but maybe also not wanted (--> unused)
  • SonataUserBundle extends the FOSUserBundle in a non-revertible way with quite specific properties, for which at least I don't have any use.

Installation

  • Add the corresponding package to your composer.json. See the list linked above for available packages or simply "crunch\user-admin-bundle":"dev-master"

  • Register Crunch\Bundle\UserAdminBundle\CrunchUserAdminBundle in your AppKernel-class

      new Crunch\Bundle\UserAdminBundle\CrunchUserAdminBundle
    

See "How to install 3rd party Bundles" for further information.

Usage

Just visit your SonataAdmin-dashboard. You should notice a new menu entry in the top menu-bar.

Configuration

Usually you don't have to touch anything: The bundle automatically fetch the required values from FOSUserBundle. Remind, that setting values manually is either useless (because they already set), will end up in an error (when they are wrong).

crunch_user_admin:
    db_driver:  orm   # or mongodb. couchdb will follow, propel and custom probably not
    group:      false # whether, or not to use groups

Contributors

See CONTRIBUTING.md for details on how to contribute.

License

This library is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published