dev-master
9999999-devLast connection date for ZfcUser module
MIT
The Requires
The Development Requires
zfcuser last connection zfcuser connection date
Last connection date for ZfcUser module
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)
Add this project and in your composer.json:, (*4)
"require": { "inovia-team/zfc-user-last-connection-date": "dev-master" }
Run the command:, (*5)
$ php composer.phar update
In your application.config.php
file :, (*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)
There is nothing to configure !, (*13)
ZfcLastConnectionDate is released under the MIT License., (*14)
Last connection date for ZfcUser module
MIT
zfcuser last connection zfcuser connection date