2017 © Pedro Peláez
 

library zfc-user-doctrine-orm

Doctrine2 ORM storage adapter for ZfcUser.

image

proprietes-privees/zfc-user-doctrine-orm

Doctrine2 ORM storage adapter for ZfcUser.

  • Tuesday, February 2, 2016
  • by proprietes-privees
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ZfcUserDoctrineORM

Version 0.1.1 Created by Kyle Spraggs and the ZF-Commons team, (*1)

Introduction

ZfcUserDoctrineORM is a Doctrine2 ORM storage adapter for ZfcUser., (*2)

Options

The following options are available:, (*3)

  • enable_default_entities - Boolean value, determines if the default User entity should be enabled. Set it to false in order to extend ZfcUser\Entity\User with your own entity. Default is true.

Dependencies

Installation

Set up Database Connection Settings for Doctrine ORM:, (*4)

Namely, go to Doctrine Connection Settings, and copy/paste/modify the example configuration file content into your config/autoload/doctrine.orm.local.php., (*5)

Install Zfc Components:, (*6)

php composer.phar require zf-commons/zfc-user-doctrine-orm

Set up your Modules in config/application/application.config.php, something like, (*7)

'modules' => array(
    'DoctrineModule',
    'DoctrineORMModule',
    'ZfcBase',
    'ZfcUser',
    'ZfcUserDoctrineORM',
    'Application',
),

Now, you can use ZfcUser SQL schema to set up your database tables., (*8)

Alternatively, you can use doctrine-module to do this work for you:, (*9)

vendor/bin/doctrine-module orm:schema-tool:update --dump-sql

If SQL looks okay, do:, (*10)

vendor/bin/doctrine-module orm:schema-tool:update --force

You can now navigate to /user and it should work., (*11)

The Versions

02/02 2016

dev-master

9999999-dev

Doctrine2 ORM storage adapter for ZfcUser.

  Sources   Download

BSD-3-Clause

The Requires

 

zf2

02/02 2016

1.0

1.0.0.0

Doctrine2 ORM storage adapter for ZfcUser.

  Sources   Download

BSD-3-Clause

The Requires

 

zf2