2017 © Pedro Peláez
 

library zfc-user-last-connection-date

Last connection date for ZfcUser module

image

momzor/zfc-user-last-connection-date

Last connection date for ZfcUser module

  • Wednesday, March 4, 2015
  • by mohamed.benaida
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ZfcUserLastConnectionDate

Build Status Scrutinizer Code Quality Code Coverage, (*1)

Introduction

ZfcUserLastConnectionDate is a ZF2 module providing an automatic update of user's last connection date for each connection with ZfcUser., (*2)

For more informations about ZfcUser : ZfcUser, (*3)

Requirements

Installation

Get the module

With composer

  1. Add this project and in your composer.json:, (*4)

    "require": {
        "momzor/zfc-user-last-connection-date": "dev-master"
    }
    
  2. Run the command:, (*5)

    $ php composer.phar update
    

Module Activation

In your application.config.phpfile :, (*6)

return array(
    'modules' => array(
        // ...
        'ZfcUserLastConnectionDate',
    ),
        // ...
);

Update Your Model:, (*7)

By Extending ZfcUserLastConnectionDate User entity:, (*8)

use ZfcUserLastConnectionDate\Entity\LastConnectionDateUser;
class User extends LastConnectionDateUser
{

}

OR if you don't want to extends it you can use the Trait :, (*9)

use ZfcUserLastConnectionDate\Entity\LastConnectionTrait;
class User extends ZfcUser
{
    use LastConnectionTrait;
}

Update Your database schema:, (*10)

There are some SQL example in ./vendor/momzor/zfc-user-last-connection-date/data/, (*11)

Navigate to http://yourproject/user/login., (*12)

Configuration

There is nothing to configure !, (*13)

The Versions

04/03 2015

dev-master

9999999-dev

Last connection date for ZfcUser module

  Sources   Download

The Requires

 

The Development Requires

zfcuser last connection zfcuser connection date

04/03 2015

1.0

1.0.0.0

Last connection date for ZfcUser module

  Sources   Download

The Requires

 

The Development Requires

zfcuser last connection zfcuser connection date