PHPackages                             tamasholecz/user-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tamasholecz/user-bundle

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tamasholecz/user-bundle
=======================

Symfony user bundle

v1.0.12(4y ago)087MITPHPPHP ^7.1.3 || ^8.0CI failing

Since May 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tamasholecz/HTUserBundle)[ Packagist](https://packagist.org/packages/tamasholecz/user-bundle)[ RSS](/packages/tamasholecz-user-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (16)Versions (15)Used By (0)

`$ composer require tamasholecz/user-bundle

config/packages/ht\_user.yaml

```
ht_user:
    user_class: App\Entity\User
#    profile_form: App\Form\ProfileType
#    registration_form: App\Form\RegistrationType
#    change_password_form: App\Form\ChangePasswordType
```

config/security.yaml

```
security:
    encoders:
        App\Entity\User:
            algorithm: auto
    providers:
        app_user_provider:
            entity:
                class: App\Entity\User
                property: username
    firewalls:
        main:
            anonymous: ~
            logout:
                path: logout
                target: /
            guard:
                authenticators:
                    - ht_user.security.login_form_authenticator
```

config/routes/ht\_user.yaml

```
ht_user:
    resource: '@HTUserBundle/Resources/config/routing/all.yaml'
    prefix: /{_locale}
    requirements:
        _locale: '%locales%'
```

src/Entity/User.php

```
