crunch/user-admin-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

SonataAdmin integration for use with vanilla-FOSUserBundle models

Installs: 975

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

dev-master / 1.0.x-dev 2013-11-22 21:08 UTC

This package is not auto-updated.

Last update: 2023-01-10 22:24:59 UTC


README

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.