hagmann/ht-user-registration-doctrine-orm

A ZfcUser based module to add ORM to HtUserRegistration

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/hagmann/ht-user-registration-doctrine-orm

0.1.2 2015-08-01 06:11 UTC

This package is not auto-updated.

Last update: 2025-10-01 22:37:22 UTC


README

This module extends HtUserRegistration by replacing the Zend DB code with Doctrine. This module is functionally similar and designed to supercede hrevert/HtUserRegistrationDoctrineORM

Install

Require with composer

composer require api-skeletons/ht-user-registration-doctrine-orm

Include in config/application.config.php

    'modules' => array(
        ...
        'HtUserRegistration',
        'HtUserRegistrationDoctrineORM',  // include after HtUserRegistration
        ...
    ),

Configure

Your User entity must implement HtUserRegistrationDoctrineORM\Entity\UserInterface.

Copy ht-user-registration-doctrine-orm/config/ht-user-registration-doctrine-orm.global.php.dist to your autoload directory and rename to ht-user-registration-doctrine-orm.global.php.

Edit ht-user-registration-doctrine-orm.global.php for your configuration. Dynamic mapping joins the UserRegistration entity to your User entity. Most important is to edit the $userEntity variable with your Doctrine user entity.

In ht-user-registration.global.php set

    'registration_entity_class' => 'HtUserRegistrationDoctrineORM\Entity\UserRegistration',

Skipper

A Skipper module is included to add to your entity relationship diagram as an attached skipper module.