2017 © Pedro Peláez
 

library sam-user

A simple useable module to quickly glue together ZfcUser, BjyAuthorize and Doctrine 2

image

manuakasam/sam-user

A simple useable module to quickly glue together ZfcUser, BjyAuthorize and Doctrine 2

  • Tuesday, May 5, 2015
  • by manuakasam
  • Repository
  • 5 Watchers
  • 20 Stars
  • 2,244 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SamUser

What is SamUser?, (*1)

SamUser is a Module that acts like glue between ZfcUser, ZfcUserDoctrineORM and BjyAuthorize. Configuration for those three Modules - at least in my cases - are almost identical at all times. Since I am too lazy to copy paste stuff I created this Module., (*2)

What exactly does SamUser?, (*3)

SamUser provides a very common Default-Configuration for the abovementioned Modules. It also provides the required Entities., (*4)

What's the use again?, (*5)

Nothing but helping out lazy people ;) You may want to check out my blogpost where i describe in detail how and why this module has been created, (*6)

http://samminds.com/2013/03/zfcuser-bjyauthorize-and-doctrine-working-together/, (*7)

Installation

Installation via composer is supported, simply add the following line to your composer.json, (*8)

"require" : {
    "manuakasam/sam-user": "dev-master"
}

All that matters then is to load SamUser after ZfcUser and BjyAuthorize. An example application configuration could look like the following:, (*9)

'modules' => array(
    'Application',
    'DoctrineModule',
    'DoctrineORMModule',
    'ZfcBase',
    'ZfcUser',
    'ZfcUserDoctrineORM',
    'BjyAuthorize',
    'SamUser'             // Important to load after all ZfcUser, BjyAuthorize and their required modules!
)

Configuration

This Module doesn't require any special configuration. All that's needed is to set up a Connection for Doctrine. For this you can use the distribuntionable located inside SamUser/config, (*10)

If you need to modify any behavior of the glued Modules, then simply use the DEFAULT Configuration Options from ZfcUser or BjyAuthorize ;), (*11)

Dependencies

This Module heavily depends on the following Modules and makes no sense without them:, (*12)

  • ZfcUser
  • DoctrineORMModule
  • ZfcUserDoctrineORM
  • BjyAuthorize

The Versions

05/05 2015

dev-master

9999999-dev https://github.com/bjyoungblood/BjyAuthorize

A simple useable module to quickly glue together ZfcUser, BjyAuthorize and Doctrine 2

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 doctrine zfc-user doctrine-orm-module bjy-authorize