2017 © Pedro Peláez
 

library zfc-user-last-connection-date

Last connection date for ZfcUser module

image

inovia-team/zfc-user-last-connection-date

Last connection date for ZfcUser module

  • Friday, December 4, 2015
  • by Inovia-Team
  • Repository
  • 41 Watchers
  • 1 Stars
  • 1,331 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 13 % 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": {
        "inovia-team/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/inovia-team/zfc-user-last-connection-date/data/, (*11)

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

Configuration

There is nothing to configure !, (*13)

License

ZfcLastConnectionDate is released under the MIT License., (*14)

The Versions

04/12 2015

dev-master

9999999-dev

Last connection date for ZfcUser module

  Sources   Download

MIT

The Requires

 

The Development Requires

zfcuser last connection zfcuser connection date