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.
SonataUserBundleis currently not compatible toFOSUserBundleversion 2. This is of course fixable :)SonataUserBundlecomes with additional features, which is not bad by itself, but maybe also not wanted (--> unused)SonataUserBundleextends theFOSUserBundlein a non-revertible way with quite specific properties, for which at least I don't have any use.
-
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\CrunchUserAdminBundlein yourAppKernel-classnew Crunch\Bundle\UserAdminBundle\CrunchUserAdminBundle
See "How to install 3rd party Bundles" for further information.
Just visit your SonataAdmin-dashboard. You should notice a new menu entry in the top menu-bar.
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
See CONTRIBUTING.md for details on how to contribute.
- Sebastian "KingCrunch" Krebs krebs.seb@gmail.com -- http://www.kingcrunch.de/ (german)
This library is licensed under the MIT License. See the LICENSE file for details.

