2017 © Pedro Peláez
 

library ledsuser

User module for authentication and Doctine2 for database setup for ZF2.

image

antuan-laptop/ledsuser

User module for authentication and Doctine2 for database setup for ZF2.

  • Wednesday, December 21, 2016
  • by Antuan Sehikyan
  • Repository
  • 0 Watchers
  • 0 Stars
  • 24 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Introduction

This is an User module for authentication and Doctine2 for database setup for ZF2., (*1)

Installation

The recommended way to get a working copy of this project is to clone the repository and use composer to install dependencies:, (*2)

curl -s https://getcomposer.org/installer | php --

You would then invoke composer to install dependencies. Add to your composer.json, (*3)

"antuan-laptop/ledsuser": "dev-master"

(for needed classes)
"antuan-laptop/commons": "dev-master"

Configuration

Once module installed, you could declare the module into your "config/application.config.php" by adding "LedsUser" and "Commons"., (*4)

    'Application',
    'AkrabatSession',
    'DoctrineModule',
    'DoctrineORMModule',
    'AssetManager',
    'Commons',
    'LedsUser',

Setup Session Handling

Create a directory "session" in data directory with read/write access to your web server, (*5)

$ mkdir www/{approot}/data/session
$ chown -R apache:apache www/{approot}/data/session
$ chmod -R 0770 apache:apache www/{approot}/data/session

return array(
    'session' => array(
        'name' => 'local_auth',
        'save_path' => __DIR__ . '/../../../data/session'
    ),
);

Database Setup

copy "doctrine.local.php.dist" to "config/autoload/doctrine.local.php", (*6)

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

Forking repository

The Versions

21/12 2016

dev-master

9999999-dev https://bitbucket.org/antuan-laptop/ledsuser.git

User module for authentication and Doctine2 for database setup for ZF2.

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 user authentication user login ledsuser